Hi folks. I'm building a generic Form API that can listen to events, declare validations, using JavaScript. On ScriptTasks theres an implicit global object called "execution", that comes with useful methods. Where can I find more information about it? I want to explore its API, and if possible inject an instance of it on my Script API, or at least implement another one with similar contract.
Yes, both store an executionId, that links to an Execution object. An execution in Activiti is a pointer to where you are in the process instance. If your process instance is active in multiple steps at the same time, you'll have multiple executions.