Catalog Item Variables are not mapping with a form

suresh40
Tera Contributor

Hi All,

So I have an issue while creating an run script for a form where I am not able to map the fields from a requested item to the Custom form(delegate table). I have given the backend values of the field inside the script but it is not working. 

 

Please look into the screen shots 

And help me with an idea how can I solve this issue.

Thank You.

 

suresh40_0-1709217514950.pngsuresh40_1-1709217533476.pngsuresh40_2-1709217559810.pngsuresh40_3-1709217582334.png

 

2 REPLIES 2

Adrian Ubeda
Mega Sage
Mega Sage

Hello @suresh40 ,

Try to use current.variables.variable_name for assigning value from catalog variables inside your run script. Other solution would be using flow designer instead workflow for this, and create/update the field retrieving values from service catalog.

If it was helpful, please give positive feedback! ✔
☆ Community Rising Star 22, 23 & 24 ☆

Benjamin Hoerte
Tera Contributor

Verify that the Workflow variables are available to your workflow using the workflow context menu and selecting edit catalog variables. 

Also as mentioned above current.variables.variable_name
This Servicenow Document should be of some help to you:
https://docs.servicenow.com/bundle/washingtondc-build-workflows/page/administer/using-workflows/conc...

It covers Workflow Catalog Variables