Question

Start multiple workflow instances by going through list entries

  • 27 March 2020
  • 2 replies
  • 144 views

Hello,

I have a workflow which creates, updates list items, and goes through approval process. Once every week I need  to schedule another workflow which checks the list items. For every entry to the list, if "Approved" column is 'Yes' & 'Expiration Date' is less than or equal to 30 days from today, there is a need to trigger the previously mentioned 'another' workflow. For example, If there are 50 such entries to the list, then I need 50 workflow instances.

Any help is appreciated.

 

Thanks,

Kaushik


2 replies

Hello  @KaushikBukka ,


 


Please kindly review the following threads:


 


How To: Create a Workflow with Multiple Instances of a Sub Workflow


https://help.k2.com/onlinehelp/k2five/userguide/current/default.htm#how-tos/cswmultiple/create-workflow-containing-multiple-sub-workflow.htm


 


 


Conditional Start Rule


https://help.k2.com/onlinehelp/k2five/userguide/current/default.htm#K2-Workflow-Designer/Use/Canvas/StartStep/StartRule/Conditional-Start-Rule.htm


 


 


How To: Use a SmartForm Reference to Conditionally Start a Workflow


https://help.k2.com/onlinehelp/k2five/userguide/5.2/default.htm#How-Tos/CSRSF/Conditional-Start-Rule-SmartForm.htm


 


 


Conditionally start a Workflow


https://community.k2.com/t5/K2-Five/Conditionally-start-a-Workflow/td-p/113740


 



Conditional Escalation based on data field value


https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/Conditional-Escalation-based-on-data-field-value/td-p/51477


 


I hope this helps

Userlevel 2
Badge +4

 Hi there  @KaushikBukka 


 


If you are using sharepoint you can also do the following


 



  • On the Create K2 Application page, select the check box next to the Workflow element

  • A section will appear where you need to provide some settings for the workflow


Specify how the workflow gets started



  • Under "when the following events occur" check the box for "An item was added"


I think this should help you with the workflow instances. You can have a look at the link below for reference


 


Creating a workflow from a sharepoint list or library


https://help.k2.com/onlinehelp/k2five/userguide/current/default.htm#Create/K2ForSharePoint/Create/CreateWFs.htm%3FTocPath%3DCreate%7CK2%2520for%2520SharePoint%7CCreating%2520an%2520Application%2520Through%2520a%2520List%2520or%2520Library%7C_____3


 


Hope this helps!


 


Regards


HulisaniN

Reply