Check State of previous tasks in flow

Nico12
Mega Sage

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 :

find_real_file.png

1 ACCEPTED SOLUTION

MrMuhammad
Giga Sage

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

Regards,
Muhammad

View solution in original post

5 REPLIES 5

Nico12
Mega Sage

Hi,

Nevermind, i succeed to achieve what i wanted. Thanks for the replies.