Page 1 of 1

How to get next task title

Posted: Wed Jul 10, 2019 5:21 am
by maabik
Hello,

I have a specific requirement to achieve.

Actually, I am using a “Value Based Assignment” to set users in tasks. And I want to perform the following scenario:
1. I am in “TASK 1”, I need to get the next task title,

I need to create a trigger for that and fire it before routing (I guess).

Is it possible to assist me to do so through coding a trigger?

Thank you for your help in advance.

Best regards

Re: How to get next task title

Posted: Wed Jul 10, 2019 11:58 pm
by amosbatto
Can the next task title change because you have gateway that can send the case to different tasks? If so, you have to execute the conditions in the gateway to determine what will be the next task. The other option is to add your trigger after routing and lookup the next task in the APP_CACHE_VIEW table, when the database record has already been added?

Or does the next task have a sequential routing rule and you just trying to avoid putting the task's title in your code?

Tell me what is your situation, because it is a lot of work for me to write out the code for every possible situation.