Solved

Check for escalation of task


Badge +7

Hi 

 

is there a way I can pragmatically check escalation of task with in K2 workflows, maybe through Smart object?

 

I have a scenario where I need to show text in case of escalation on the task notification.

 

Please advise.

icon

Best answer by NicS 20 June 2022, 10:28

View original

2 replies

Userlevel 3
Badge +9

There is a SmartObject called Escalations Report in the System => Reports category (you will need to turn on show System Objects if you are accessing through the designer).


 


It takes a Process Instance Id and optionally an Activity Instance Id and Event Type.  You can get the Process Instance Id from the start of the serial number and could then filter a call to that list method with the username if needs be.


 


Cheers

Userlevel 2
Badge +7

There are a couple of options available to you here:
1. You can call a SmartObject when the task is redirected and log some information in addition to doing the redirect. When the task is opened by an escalation recipient you could then act on this logged data.



 



 



2. Instead of using the redirect functionality to escalate the task, the original one could be expired and you could create a new task for the escalation. With this option you can log whatever information to your database that you want to in the escalation task include any information in this task about the escalation that you need to.

Reply