Developer forum - ServiceNow Community
Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

how to get display value in business rule for variable

I have a variable "u_currency_code" which is a choice field.when I checked this value and displayvalue it is giving below result. seems from backend it was updated. I need to get this value in business rule or using dom manipulation. how to get it?cu...

Hafsa1_1-1744034274374.png
Hafsa1 by Mega Sage
  • 67 Views
  • 3 replies
  • 0 helpfuls

Customizing Approval Notifications for a Catalog Item

I’m working on a custom catalog item where a variable is intended to be populated on the Cat.Task, and then copied to the work notes of the RITM. The goal is to include this variable value in the approval notification that goes out to a user or group...

DevtoSME by Giga Guru
  • 42 Views
  • 1 replies
  • 0 helpfuls

Workflow fails randomly, error handling question.

We have a flow that is supposed to create some tasks on specific HR service cases and it seems to fail randomly and I don't know why. I would like to add an error handler to the flow that can send me an email with the reason why.  In the email body, ...

bigbacon by Giga Guru
  • 277 Views
  • 2 replies
  • 0 helpfuls

Why can't I set decimals in a decimal field?

I have a custom decimal field that I'm trying to update via a business rule:        met.u_total_value = 4.25;        met.update(); It's updating the field to 4 instead of keeping the decimals. Why is my decimal disappearing and how do I keep it?

e_wilber by Tera Guru
  • 114 Views
  • 7 replies
  • 0 helpfuls