- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 02:20 PM
Hi Team,
I created a flow which created scrum tasks under story when story is created.
Trigger condition is when record is updated.
I have created a UI action from which I am calling this flow and its working as expected, but requirement is flow should work only when ui action is clicked.
SO is there any triggere condition for this scinario ?
Now when story is created and updated , flow is triggered and tasks are created but I want tasks to be created only when UI action story form is clicked.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 03:32 PM
Hi @rambo1 ,
Of course you can trigger a flow from a script, but you will need to use a subflow instead a flow, and pass your inputs[your record] when you are creating your subflow, then when you have created your subflow and you activated the subflow only copy the code and paste, there is a example:
1 - Create your subflow and activate:
2- Select your options and click "Create code Sniped":
3- You would copy the code:
4- Copy the code in your UI action and execute in your espected scenario:
If you have any espected output like a record you can update the record or do any thing in accord with your necesities.
Hope that help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2023 03:32 PM
Hi @rambo1 ,
Of course you can trigger a flow from a script, but you will need to use a subflow instead a flow, and pass your inputs[your record] when you are creating your subflow, then when you have created your subflow and you activated the subflow only copy the code and paste, there is a example:
1 - Create your subflow and activate:
2- Select your options and click "Create code Sniped":
3- You would copy the code:
4- Copy the code in your UI action and execute in your espected scenario:
If you have any espected output like a record you can update the record or do any thing in accord with your necesities.
Hope that help you.