Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By JosueTi
I solved it after routing, but I want to get it before routing, I attached the code for after routing

$consulta_task= executeQuery("

User avatar
By amosbatto
It is only after routing that the record for the next task exists in the APP_CACHE_VIEW table, so that trigger will only work after routing.

Do you have a fixed route to the next task like this?
nextTaskFixedPath.png (4.64 KiB) Viewed 1339 times
Or do you have a variable route to the next task like this?
nextTaskVariableTask.png (13.39 KiB) Viewed 1339 times
User avatar
By amosbatto
JosueTi wrote: Mon Aug 05, 2019 10:33 am I have gateways on the process map as in the second example you show
The only way to know what will be next task in your situation is either fire a trigger after routing that looks at the APP_CACHE_VIEW or APP_DELEGATION table or you can execute the conditions in the gateway to figure out what will be the next task in the case.

For example, if your two conditions in the exclusive gateway are:
@#amount < 500.00
@#amount >= 500.00

Then, you could create a trigger like this to fire in "Current Task":
Code: Select all
if (@#amount < 500.00) {
   @@nextTask = 'Next Task 1';
else {
   @@nextTask = 'Next Task 2';
No puedo acceder al diseñador por https.

Tengo el mismo problema. ¿Ha habido alguna[…]

I am trying to add custom font "Ubuntu-Medium[…]

Hi, I suggest you use the operator role with the[…]

Hello, Have you tried with this link: https://sou[…]