Home Forum Blog Market Events Resources
Showing results for 
Search instead for 
Do you mean 
This widget could not be displayed.
This widget could not be displayed.

WorkflowManagement Service

by k2pierrot ‎04-25-2014 06:07 AM - edited ‎04-03-2017 03:18 AM

Service object which allow users to manage processes, tasks and rights. Users can manage : - processes (start process, delete process instance, update datafield value, update folio, list datafield value) - Tasks (release, delegate, redirect, goto activity) - User rights (add process rights, list user rights for a process, list user rights of a specific user) - Manage OOF


The version 3 of workflow management have a new method to list out of offices activated on the current  K2 server.


The version 4 of workflow management have new method to manage worklist (of the K2 server) and to allow users to load their worlist. 

There is also 2 methods (thanks to Fethi from K2 France) which allow to list activities by process full name and by process ID.


Credits to :

Jean-Jacques from K2 UK for impersonate and process management features.

Raphaël from K2 France for some features about Folio and Activity management and generic worklist methods.

Fethi from K2 France for his list activities features

Olivier from K2 France for the improvement of the goto activity method.

by SY
on ‎11-21-2014 01:39 AM

If the task is assigned to 3 destination users with 3 slots under K2 workflow design ,  (User A, User B and User C), why User B is able to see the task of User A ?

by HankBernard
on ‎06-29-2016 08:55 AM

Hi Pierre


I am getting an error on version 3 when I attempt to get a worklist.


Standard object reference not set to an instance of an object.


Would it be possible to get the source code.  I can then fix this.  


Else I will have to write this all over.

by Vishesh
on ‎08-12-2016 06:03 AM

Hi Pierre,


I have the exact same issue as HankBernard.  Other methods work but when i tried to execute Get Worklist. it fails. Can you provide source code or can you fix this and update the new solution? I am currently using K2 Blackpearl 4.6.11.




by kkennedy
‎06-02-2017 06:33 AM - edited ‎06-02-2017 06:33 AM

Hi Pierre,


Can you provide documentation on how to implement this?  After an upgrade to 4.7, the methods are executing without error, but the changes are not being made to worklist items (release, delegation, etc.).  Everything is functioning fine in our dev and staging environments, just not our production environment.  



by k2pierrot
on ‎06-02-2017 07:11 AM



I have already encounter this issue. You have to install the last cumulative update, and after that, workflow management will works fine.

This issue occurs because there is a limitation on 20 items on the getworkist API since 4.7 version. This limitation has been changed in one cumulative update released by labs.





by Andrew_Jeffery
‎07-07-2017 04:20 AM - edited ‎07-07-2017 04:24 AM

the zip for 6.1 seems empty when I donload it.