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.

Unable to populate variable on scheduled job

Joshua Comeau
Kilo Sage

How to get the current form short description to populate the carts description variable?

JoshuaComeau_0-1699536083736.png

 

1 ACCEPTED SOLUTION

@Joshua Comeau Try this

 

cart.setVariable(item, 'what_can_we_help_you_with', current.u_ppm_short_description);

Thanks,
Anvesh

View solution in original post

6 REPLIES 6

@Joshua Comeau 

How the Tasks are being created, is it through a Flow or Work Flow? Please check that part. The script is looking fine.

Thanks,
Anvesh

It is working now 
you have to var gs.info and specify current:

JoshuaComeau_0-1699542592147.png