Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Populate Short Description with Form Variable Values in requested item record

Sahar_Kaizer
Tera Contributor

Hi,

 

I've set up a catalog item named 'change site' that includes fields like 'version,' 'unit,' and 'system.'

Additionally, I've created a business rule that, upon saving the record, should populate the 'short_description' field of the requested item with a string composed of the chosen values in the mentioned fields - 'chosen version / chosen unit / chosen system/ request name', but it doesnt work.

this is the business rule:

Sahar_Kaizer_0-1703688843878.png

 

However, I'm encountering some challenges with this setup. Could someone please provide guidance or suggestions?

 

Thanks,

Sahar

15 REPLIES 15

Danish Bhairag2
Tera Sage

Hi @Sahar_Kaizer ,

 

Try using current.variables.version in ur BR n check if it works?

 

Thanks,

Danish

 

Thanks but it didnt work...

Hi @Sahar_Kaizer ,

 

Possible to share the Snip of what you tried please. current.variables.<your variable name> should work. 

BR is created on which table?

BR should be on RITM table.

 

Thanks,

Danish

 

BR is created on sc_req_item table