YUDI2
Novice

Asyncronous server event in K2 Five

How to use Asynchronous event in K2 Five? or any other similar approach to achieve it ?

0 Kudos
Reply
5 Replies
tbyrne777
Scout

Re: Asyncronous server event in K2 Five

Hello, can you elaborate on your question please? Are you referring to asynchronous rules on your forms/views?

0 Kudos
Reply
YUDI2
Novice

Re: Asyncronous server event in K2 Five

On K2 blackpearl, I can create a Server Event task on the workflow for a specific system-to-system workflow task.  

Example : automated KYC task which Pass/Fail outcome is determined by an action/output/data performed on another application outside K2.

 

https://help.k2.com/kb000272

 

I’m looking a way to implement this Server Event task scenario in K2 Five workflow.

0 Kudos
Reply
tbyrne777
Scout

Re: Asyncronous server event in K2 Five

Ah, ok - server events have been deprecated in K2 Five. The way I’ve gone about it is to put whatever logic I wanted in the server event into a stored procedure or web service and invoke it from the workflow via Smart Object.

0 Kudos
Reply
YUDI2
Novice

Re: Asyncronous server event in K2 Five

In my case, the result from external application (system-to-system) is not syncronous process.  I dont have visibility when and how the user using external application to perform KYC process but once the KYC process is completed, this external application will complete the respective K2 task using K2 Api. (it’s asyncronous process)

 

Using Timer to check stored procedure (smartobjects) seem to create overhead for K2 server due to the number of instances are a lot and it can stay on this step for days/week or forever.

 

Any best practice on K2 Five to achieve this asyncronous processing without affecting K2 server performance ?

 

0 Kudos
Reply
YUDI2
Novice