Re-Execute Loop Step?


Hello, 

 

Anyone know if it is possible to execute the same loop step in a workflow more than once? 

I have a loop to iterate over a list of values (created using a reference to a list smart object method) to start multiple sub-workflows.  Once all the sub-workflows are complete, the parent workflow allows the user to re-execute the loop again to start the sub-workflows again.  

When trying to execute the loop step again, no sub-workflows are started. 

Any thoughts on what could be going on? 

Is this even possible to do?

Thanks!


2 replies

Hello,

 

Yes this is possible . what you do once your child workflow is completed then go back to refrence smart object call again and start the loop from there you must see the child workflow started. 

 

If this is not working this mean there is some issue in your refrence and loop . Please check that.

 

Thanks.

Hi,


Yes, this should be possible to achieve. For example, purposes have a look at the links below:


*Loop Step:


http://help.k2.com/onlinehelp/k2cloud/userguide/update_4/default.htm#k2-workflow-designer/use/toolbox/logic/loop/loop.htm


*Call Workflow Step:


http://help.k2.com/onlinehelp/k2five/userguide/5.0/default.htm#K2_Workflow_Designer/Use/Toolbox/Basic/CallSubWorkflow/Call-SubWorkflow.htm%3FTocPath%3DCreate%7CWorkflows%7CUsing%2520the%2520K2%2520Workflow%2520Designer%7CToolbox%7CBasic%7C_____5


 


These Links should provide a detail explanation on how this can be achieved.


 


 Kind Regards


Jaco

Reply