Solved

Extracting workflow task serial number After Assigning a User task

  • 13 November 2019
  • 2 replies
  • 6 views

Hi All,

 

we have a requirement to Retrive the Serial Number afte the Task is assigned in Work Flow. back ground of the request is we want to store the Serial Number in our Custom Tables for some Analysis and Reporting Purpose. in User Task ,Email section we can get this value ,but is there any why i can get the value to Insert into custom tables after assigning the User task 

 

Thanks,

Madhu

icon

Best answer by Macky1 14 November 2019, 04:36

View original

2 replies

Hi,


 


the serial number is a combination of the process instance ID and the activity instance destination ID( ProcessinstanceID _ ActivityInstanceID = SerialNumber ). On K2 FIVE, the ProcessinstanceID and ActivityInstanceID  value are WorkflowID and TaskID as Context Browser.


 


So you may update this value via smart object or Set variables event when the task was sent to user like picture below.



 


Cheers!!


 

Awesome... it is working.

 

Thanks a lot

 

Regards,

Madhu

Reply