- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2018 02:40 AM
Hi ,
How to populate RITM variables on the task form when the task is created via a run script??.the task that i am creating is a sc_task...??
HELP needed....
Thanks..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2018 04:59 AM
HI Girish,
Check the Global checkbox on variables form. Then the variables will be available on both RITM and Catalog task forms automatically.
Good if it helps you.
Swetha.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2018 04:55 AM
Hi girshk,
You may found helpful for your task,
https://community.servicenow.com/community?id=community_question&sys_id=9c01cba5db98dbc01dcaf3231f96194a
Regards,
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2018 04:57 AM
You can get Request/Requested Item variables by using "current.request.variable_name"
For Ex:
var specialInstruction = current.request.special_instructions;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2018 05:13 AM
sorry . i meant the wrong way.i want to show the RITM variables on to the tasl form that is created via workflow runscript.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2018 05:30 AM
I don't think you can do this, for this to work you need to use the create task activity in the workflow where you can select which variables should be shown on the task. It's the only way I know of at least.
Otherwise you can use the script above to get the variable and write it to the description field or something like that.