I am attempting to string tasks together, I am able to get the task ID of the next user task by running the following in a TaskListener Create script:
var system = java.lang.System;
system.out.println(task.id);
Which returns the correct id.
I would then like to update the url in the browser to "ip:port/camunda/app/tasklist/default/#/?task=" + task.id
But because the TaskListener Create script is not running in the browser itself (not sure why to be honest), I don't have 'window.location' available.
Is there a simple solution to this?