- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2022 10:24 AM
Hi,
I have a flow that will update and close a task (task number 3) automatically based on several conditions. The flow update automatically an asset and then close the task.
I need to check from that flow the states of the previous tasks (tasks number 1 and 2).
If at least one previous task has the state "closed incomplete" or "closed skipped", the flow should change the state of the task 3 to "closed skipped" and not update the asset.
How to check the state of previous tasks from the same RITM from flow i didn't find it ?
Here is my trigger :
Solved! Go to Solution.
- Labels:
-
flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2022 11:44 AM
Hi Nico,
if those tasks are being generated by the same flow then you can just reference it using the data pills available on the right of the screen.
If these tasks are not part of the current flow then you use the lookup records the action on table sc_task and find the tasks by referencing the requested item and then you can use data pills to get the state values and use it for your purpose.
Regards,
Muhammad
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2022 01:35 AM
Hi,
Nevermind, i succeed to achieve what i wanted. Thanks for the replies.