We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

AssignedTo Catalog task Variables not popping up on workflow script

Shree Nag
Tera Expert

Hello,

I have  catalog item variables, manager and assignment group, that a user inputs on a catalog item form.

In the workflow I need to assign it to catalog task in catalog task activity advanced script.

 

I'm able to get assignment group information but not able to find "assignedto" on catalog task variable in thw workflow.

 

Please help me understand how to get the catalog item variable Manager to get to catalog task variable "AssignedTo".

task.assignedto is not popping up. I have added all variables to Add variables section of the workflow.

I have attached screenshots of the catalog task created and workflow script.

 

In short:

 

task.assignment_group = current.variables.assignment_group; // This works

task.assignedto= current.variables.manager; // this does not work.

 

Any pointers appreciared.

 

-Thanks

0 REPLIES 0