Wait for condition on workflow

  • 8 September 2020
  • 2 replies
  • 14 views

We have a scenario that Task B should be started only when one of the todo list of Task A has been done. All data are stored in SQL database.  I have a stored procedure to check if the condition has been met to start Task B. But any idea how can I implement the waiting event?

16777iA50AB6773B73556B.png


2 replies

Hi Xuewei,


 


Maybe you can consider to call a subworkflow that has the task B's scenario. 


You can use the "Call Sub Workflow" step to start another workflow (has task B scenario). You can call the sub workflow and either wait for it to complete, or call it and continue with your main workflow.


 


You may checkout the link below for more details


 


https://help.k2.com/onlinehelp/K2Five/UserGuide/5.3/default.htm#K2-Workflow-Designer/Use/Toolbox/Overview/Toolbox/Toolbox-Overview.htm%3FTocPath%3DCreate%7CWorkflows%7CUsing%2520the%2520K2%2520Workflow%2520Designer%7CToolbox%7C_____0


 


Should you feel that this post is of use and or an accurate solution to the raised question, I kindly encourage you to mark it as such
using the 'Mark as Solution', 'Kudo' andor ‘Me Too’ options.


 


Cheers,
Kate


 


K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.


 

Hi Xuewei,


 


You could maybe look at implementing a Custom Logic for your Split step.


 


https://help.k2.com/onlinehelp/Platform/UserGuide/June/default.htm#K2-Workflow-Designer/Use/Toolbox/Logic/Split/Split.htm#SplitRule


 


Hope this helps!


Kent


 


K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.

Reply