- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2023 04:56 AM
Hi Experts,
I have one variable called " Request type" when ever user submit the item. variable value need to be populate on RITM "short description" .
I have written this script in flow design but it won't work. any one please help me on this.
Note: item short description is mandatory so already given some content.But now here as per my requirment variable value only populate on RITM short desc level.
also i tried this script
current.short_description= current.variables.request_type;
Any help will be appriciated.
Thanks in Advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2023 07:30 AM
why to update the RITM in GET Catalog variables step?
you can use update record action and set the short_description like this
No scripting required; just drag and drop the Pill
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 03:28 AM
Yes @Ankur Bawiskar I am not able to get variables from get catalog item variables.
Flow alson attached in item.
And I tried with this script as well.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 04:12 AM
did you add the variables in the Get Catalog variable step?
What happens when you click the data pill for setting the short description field?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 06:15 AM
Hi @Ankur Bawiskar
In Get Catalog Variables section I am unable to get the variables please see the screenshot
Through Catalog builder actually item is created and the flow approvals are also triggering through variables. where in variables default value team is keeping the group sysid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 08:22 PM
for the Get Catalog Variables set you need to select the catalog item also
It should be visible, I have used it.
Did you try to create the step again?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 10:54 AM
Hi @Ankur Bawiskar
Appreciated. Thanks for your help.