- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2020 09:00 AM
I would like to add variables to the Description field of "Create Catalog Task" in Flow Designer. I know the variables are available and can be selected using the Catalog Variables selection box. But for readability purposes, I would like this information in the Description field of the catalog task. Some of the fields display correctly while other are showing the sysid. Is it possible to get the display values in the Description field?
This is the description field in flow designer
This is the description field in the catalog task
Thanks for your help.
Solved! Go to Solution.
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2020 07:22 AM
it should be this
I assume you must be already having Get Catalog Variables Action before this
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2020 07:22 AM
it should be this
I assume you must be already having Get Catalog Variables Action before this
Regards
Ankur
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-27-2021 04:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2020 07:46 AM
That worked. Thanks
Hi Ankur,
I have a query regarding flow designer, My requirement is to set the variable value in RITM for the specific Catalog Item.
I created the trigger as Service Catalog, Action Get Catalog Variable from HR Job Profile (Catalog Item). And selected all the variables there too. But got stuck in the step to set the variable's value.
Suppose, I have a checkbox variable i.e. "ABC" and like to set "True".
I tried with Run Script but still no luck.
var nameOfABCVariable = fd_data._1__get_catalog_variables.abc.getName();
gs.log("abc name: " + nameOfABCVariable);
In log, it's printing as undefined.
However, if I used like this then it returns as true even it is not defined by the user in the RITM record.
var nameOfABCVariable = fd_data._1__get_catalog_variables.abc;
gs.log("abc name: " + nameOfABCVariable);
Therefore, could you please guide or help in setting this up or is there any example available then kindly share.
Quick help must be appreciated.