Skip to main content

In my list view a user can add multiple items which can each start a separate workflow to retrieve further information. When the workflow is started the status is set to pending, once finished the status changes to completed. When all items have a status of Completed I want another workflow to start. Is there any way to achieve this? 

 

Example, if one item contain pending and another completed, user should not be able to submit. If both items are completed then the user can submit but I only want one workflow to start and not one workflow per item.

 

Thanks.

Perhaps you can try using a hidden data label as a validation check before starting the workflow?


1. Create a hidden data label as a validation check. Set the value to true.

2. Use a for-each rule to check the status property in All rows of the smartobject.

3 Use a advanced condition to check If any of the status is still pending, then set the hidden data label value to false.

4. After the for-each loop, set a condition to start the workflow only if the value of the hidden data label is still equal to true.

5. Use a button to trigger this check before you start the workflow.


Reply