How to write a scripted custom action in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2023 05:23 PM
Hi
please could someone help me write a scripted custom action in flow designer for a wait for condition where if the variable I have created which appears on my catalog task and RITM is set to Yes (look up the`sc_item_option_mtom` then get the sys id from the sc_item_options table and get the value if the value is Yes) or if the state of the catalog task is set to closed complete. If either of these conditions are met then the scripted wait for action will complete and the flow will create a catalog task.
I would really appreciate any help with this!
thank you,
Harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2023 05:11 AM
@Harrys09 Correct me, you want variable values of ritm yes then you can use get variable value action which snow provides.
Please elaborate if I am misunderstanding.
Thank You
Sanjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 04:21 AM
hi @Sanjeet_Choudha , thank you for your reply. would you be able to guide please on where i can find this variable value action?
Thank you,
Harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 05:06 AM
Hi @Harrys09 ,
I hope below image will be helpful and these points.
1. Trigger type select service catalog
2. use action "Get Catalog Variables"
3. put the variables which you want from available to selected.
4. these selected variables and their value you can use by data picker in wait for condition or if or any thing else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2023 05:17 AM
What part are you having trouble with?
If its just inexperience with Custom Action, here's a couple Youtube videos you could watch.