Skipping User Task

  • 21 September 2015
  • 1 reply
  • 1 view

Badge +1

Hi,

 

Currently we are working with K2 Designer and developing workflow which has 10 approval levels.

 

Each level has three condition ("Yes","Notify","No") and this condition is set with in SQL table. So 10 approver column are with SQL and condition is also specified in the SQL,

15068iD988FC745AA6FE7C.png

 

So based on condition (amount which will be passed from form and we will retrieve on row), we will get one row that will provide information that which apporver are required, if Manager-1 is Yes than in workflow user task will be created, if Notify than only email and if No than workflow proceed to further with Manager-2. We are sading the "Yes","Notify","No" value in smartforms as hidden field. so we can decide which approver to load.

 

There is a task hierarchy from Manager-1 to Manager-10, but all these approver will load dyanmically.

 

So, if Manager-1 is "Yes" than task will created and then workflow proceed to "Manager-2", if it has "No" than workflow will proceed to "Manager-2". so how can we skip user task with K2 designer or we must have to use K2 for Visual Studio.

 

Is there mechanism for skiping user task?

 


1 reply

Userlevel 1
Badge +8

Hi Hiren

 

I would suggest you look at building your workflow in K2 Studio or K2 for Visual Studio, and using line rules to achieve the skipping of user tasks. Provided you are creating a separate activity for each task, you can configure your line rules to skip activities based on data values (e.g. a smartobject field value or a data field value).

 

Have a look at Line Rules in K2 Help

Reply