How do I set a catalog variable in flow designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2020 02:13 AM
Hey there,
does anyone know how to set a catalog variable in flow designer properly? I have created a custom action with a script step. The script step has one Reference.Requested Item input parameter.
In my script i do the following:
inputs.ri.variables.my_text = "Hello World";
So in workflows I have the current object which ensures that this operation is written to the database. But in flow designer i do not have that object so I wonder whether I need to call:
inputs.ri.update();
How do i ensure that the variable is written to the database in flow designer? What is the proper way to do it?
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2020 03:08 AM
Hi,
I hope this thread will give you some help which you are looking for
Mark correct and Helpful
Thanks
Rajender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2020 04:24 AM
Hey Rajender,
this thread does not answer my questionn at all. I know how to get variables from the triggering catalog item in flow designer. I want to set/change variables within the flow for the related catalog item.
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2020 11:54 AM
Hi Marvi,
Wondering how you could finally set variables values.
Ghazal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2024 12:19 AM
Check this community link for help with the setting catalog variable.
https://www.servicenow.com/community/now-platform-articles/set-value-of-a-catalog-variable-at-flow-d...