If one task close incomplete out of 2 0r 3 tasks the RITM need to closed incomplete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 06:04 AM
Hi Team,
I have created a workflow. In the flow, I have created tasks using the "For Each" loop, which will create multiple tasks from for each action. If all tasks are closed completely, I need to close the RITM as complete. If any task is closed incompletely, I need to close the RITM as incomplete.
To achieve this, I have used lookup records with the conditions shown in the screenshot below.
it getting 0 records. so if condition not satisfied.
Can you please help me on this.
Thank you in advance.
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 07:06 AM
Hello @Siva82
You don't need to do "Look up Records" because as per your requirement you need to change it to closed incomplete even if one of them state is changed to closed incomplete.
In that case - just use Look Up Record. If it returns even one record then fine. Else if it throws error it means there are no records.
This you can check using Action status.
Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 07:41 AM
Hi @Siva82 ,
So that is correct right? If condition is not satisfied you'll get 0 records. You can use an else statement to update the RITM state to complete in that case.