Variable from Javascript HTML5 Module to Workflow
How can I pass a variable (string) from a JavaScript HTML5 Module (Custom.js), to a workflow ?
I`m looking for an Event that would catch it, but I can`t seem to find one.
0
-
Found it:
var app = geocortex.framework.applications[0];
app.commandRegistry.command("RunWorkflowWithArguments").execute({workflowId:'test',ArgInput:'TestVariable'});
test = WorkflowID
ArgInput = Input Argument name in the Test Workflow (in this case, it's a String Argument)0 -
Also, within a Javascript HTML 5 module, you should be able to simply reference the app object by using "this.app"
So, this.app.commandRegistry...
0 -
Thanks! 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer