- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 02:30 AM
We have a sub workflow which is used in all the catalog items. This has a run script activity which GlideRecords the sc_request table to populate some values. After that it waits for some duration and then a notification is sent. Now we are updating this to sub flow, As I am new to flow designer I am not able to get that how to run the script. Please help on this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 02:30 AM
Hi @SHALIKAS ,
Create a Subflow as below:
1. Define required inputs. Output not required
2. Use action "Update Record" to set Short Description and Requested For
To set "Requested For" use below script:
Please mark my answer helpful and accept as a solution if it helped 👍✔️
Kavita Bhojane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 02:35 AM
Hi @SHALIKAS ,
You do not need any script for this you can use action update record pass the table name as sc_request and populate field which you want.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Ranjit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 02:43 AM
Hii, I need to add the following script, it also has if conditions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 02:49 AM
Hi,
initially use action "Get Catalog Variable" you will get all the variable user is entering on the form and then If condition and then use update record and set those value in request.
Regards,
Ranjit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 03:15 AM
But I want to use this subflow for all the catalog items not for a particular one. So how can I select the variables in that case