- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021 01:19 AM
Hi ,
i am creating flow for catalog item through flow designer.
i am creating one catalog task ,in the next action i need to write one script where i need sys_id and assignment group of previously created catalog task.
how can we get that sys id and assignment group in the script.
can someone please help me with this.
Regards
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021 04:59 AM
Hi,
While creating action, you will create inputs for it. Create input like below. Then you can use this variable in your action.
When you'll call this action, it will ask for input from flow. Pass the sys_id from data pills to this action.
Calling from flow:
ServiceNow Community Rising Star 2022/2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021 02:13 AM
Hi,
As mentioned by Jagjeet you can use that data pills for the catalog task in your script section
Example below you can try
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
07-01-2021 03:46 AM
Hi ,
i am creating new action where i am using run script activity.....can we use same script there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021 04:32 AM
Hi,
if you are creating custom flow action then send the 2 field data as input to it
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
07-01-2021 04:44 AM
ok...How can we pass created catalog task sys id there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021 04:59 AM
Hi,
While creating action, you will create inputs for it. Create input like below. Then you can use this variable in your action.
When you'll call this action, it will ask for input from flow. Pass the sys_id from data pills to this action.
Calling from flow:
ServiceNow Community Rising Star 2022/2023