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.

How to pass Catalog item name to task form

akriti2
Kilo Contributor

Hi all,

How do I pass catalog item name to tasks. One way is to create it as a variable on the catalog item and pass it to the tasks in the workflow as shown below but I do not want to create a variable. How do I achieve this. I will be passing some variables shown below on the left and I want the catalog item name too

Thanks

find_real_file.png

1 ACCEPTED SOLUTION

Based upon your example, this is what you can use:


task.short_description = "Please deploy item "+ current.cat_item.getDisplayValue() + " to the user";



Let us know if that works to your liking.


View solution in original post

5 REPLIES 5

Thank You Chris!