andiak
Forms Fledgling

How to Increase Workflow Performance?

Hi i have a problem regarding how the workflow perform in some cases.

 

I have a call sub workflow event in which inside of it is a simple task. However the problem is the timing when the sub workflow start and add the worklist to the user sometimes different.

 

This is the main workflow:

andiak_0-1627551413536.png

This is the sub workflow:

andiak_1-1627551466231.png

 

(the image above is an example)

 

In one of the process instance, the timespan when the task (Validation Survey) appear in the user worklist was roughly around 1~3 seconds. But in another process instance, the timespan when the task (Validation Survey) appear in the user worklist is around 30s to 1 minute.

(Tested by QA)

 

I tried to find the cause but have never figured it out.

 

Is there any way to tune or increase the performance? is there any other factor that also impact the performance that i might be missing? 


Thanks

Labels: (1)
0 Kudos
Reply
2 Replies
tbyrne777
Workflow Veteran

Re: How to Increase Workflow Performance?

On the server hosting the K2 environment, open Notepad as an administrator, and open the file located at the following path: C:\Program Files (x86)\K2 blackpearl\Host Server\Bin\K2Server.setup. Once editing this file, find the node called “IPC Thread Interval” and lower the value from 60. Try setting this value to 10. This value is the number of seconds K2 waits before kicking off a sub-process or IPC (inter-process call).

0 Kudos
Reply
Prineel_V2
Forms Fledgling

Re: How to Increase Workflow Performance?

I know having states in your forms can significantly decrease performance. If you do, perhaps test without having any states and rather create new forms.
0 Kudos
Reply