Can i pull a variable from a form into an execution plan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2024 11:29 PM
I have created a service request form, with a variety of varaibles.
I have also created an execution plan to create REQ/RITM/Tasks to fulfill the request.
I need to be able to pull values from the form into the RITM and subsequent tasks.
Is this possible?
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 12:04 AM
Hi @johnrob18 ,
Check this thread : https://www.servicenow.com/community/developer-forum/copy-catalog-variables-to-ritm-and-req-forms/m-...
Thanks,
Hope this helps.
If my response proves helpful please mark it helpful and accept it as solution to close this thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 03:18 AM
hi - i have found this solution but do not understand where to put the first scipt, it seems to imply it goes in the request item workflow. - where do i find this?
I need to pass a number of fields from the form to the RITM, do I just add these into the script?
I am trying to copy a location catalog variable on Request item and request form.
I have written the below code.
I have a run activity on request item workflow which is trying to set the location variable on scratchpad.
Run script activity on workflow.
Then I am running a after business rule on request item table to set the location variable value on request item form and request form’s filed called location.