- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2023 06:14 AM
I am trying to create a business to trigger Sub flow for an closed alert, I copied the flow designer code snippet and pasted in the business rules but I am not getting what are the values to be given for the below following.
Thanks in advance.
Solved! Go to Solution.
- Labels:
-
Event Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2023 12:21 PM
We need to set the conditions when to run and in actions with the below following script its calling the flow designer on closed alerts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2023 07:50 AM
Hi,
You can if this subflow is used in somewhere in some other flow and check the type of input needed for this.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2023 08:14 AM
Hi @Madhan27
To achieve this you are on the right track, you need to follow below steps to pass the inputs:
For example see below on how you can achieve this based on the screenshot which you have shared:
inputs['This will be the name of the input you have defined within your Subflow right at the top of subflow'] = current,getValue('Field Name from Alert Table which you want to pass as an input');
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 06:59 AM
HI @shloke04 ,
Thank you for your response, I have gave the inputs even though the alert executions were not updating when the alert is closed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 07:08 AM
Hi,
have a look at the new ScriptableFlowRunner API. This is what you should be using currently to start flow/subflow/action from a server script.
Basically you instantiate the Runner object with any parameters you need and then you can access the Result object to see response attributes. You will be most interested in the Outputs.
Thanks
Ajay