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.

Passing values from RITM field to variable set which is on catalog task

Prashanth Ranga
Tera Contributor

Hi All , 

 

We have created a variable set "Business Fields" for a HR catalog item . In the variable set we have created a variable "Planned Estimated Hours" . on RITM we have a field "Planned Estimated Hours" . We need to pass the value from planned estimated hours which is on RITM to Planned Estimated Hours which is a variable in variable set and used on the catalog task . 

 

code attached 

 

Any ideas on code wise would be a great help 

 

Thanks in advance 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Prashanth Ranga 

no code is present in your post.

you can use before insert BR on sc_task and set the variable value in SC Task based on RITM field

how are you doing this? using workflow or flow?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Sohail Khilji
Kilo Patron

Hi @Prashanth Ranga ,

 

bit confusing ! can you detail more on were you wanted to pass the value from and to ?


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect