Avatar

Correct answer by
Community Advisor

Hi,

you can use JS and create several branches for different deliveries.

Create JS node and input code (change it per your needs):

var timezone= 1;
if(timezone> 1){
task.postEvent(task.transitionByName("branch1"));
} else {
task.postEvent(task.transitionByName("branch2"));
};

If you do not need branches then just invoke a workflows or deliveries in the {}.

Regards,

Milan

 

View solution in original post