Variables section in Catalog task is not showing up. These tasks are created through run script in the Workflow. Any insights on this Please advise anyone.

Chaithra Srini1
Mega Expert

Hi everyone,

I am working on one requirement where I had to create some of the catalog tasks using run script in the Workflow. But, variables section is being missed from all of those tasks. We usually set variables to be displayed in the task form through workflow. But, in this case, how to display the variables section within the task form of the Request item. Please provide your insights if anybody know info on this. 

Thanks in advance.

Regards,

Chaithra

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

(Out-of-the-box) When doing this manually, you would usually on a Catalog Task step, add variables from the left to the right column. The relation behind this is actually stored in table: sc_item_variables_task.

So if wanting to create variables scripted. And having them displayed also on the Catalog Task... you also need to script the relation to table sc_item_variables_task.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

5 REPLIES 5

Hi,

Glad you found the answer through a related thread on your own!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!