Skip to main content

Hi All,

Is there any way that we can read the K2 Context within the Custom Service Broker Logic. We are having a custom service broker implemented and in one of the methods we need to get the details of the User who approved the task/What is  the action that user taken / what is the finish date of the task.

For this currently we are trying to open a new smart object server connection and trying to execute the "Activity Intance Destination" smart object. Instead of opening new connections within K2 service broker is there any way that we can directly access the K2 Context.

Share your suggestions....

The context is point-in-time and will change when your workflow moves to a new step.  If your need is to record what happened historically, reading the history log via SmartObjects would be an acceptable solution.  There may be other options but we would need to know about the business purpose you are trying to acheive.


Good day  @vishnumahesh

 

It's possible to read data directly from custom service broker using the smartObject tester tool.

-follow up with the link, relate it to your goals and make alterations that better suit your needs.

-link provided : https://maverick0607.wordpress.com/2017/11/08/creating-a-custom-dll-and-integrating-it-with-k2/

 

but again as @DavidL suggested ,please provide us with adhered content for your business.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If you found this post to be useful and answer your question, Please remember to mark this as a solution or Kudo as this will help other clients in future.

 

 

 


Reply