Set External Value from HTML5 Module
Hi.
Does anyone know how i can set an External Value from a custom HTML5 module ?
I need somehow to pass information back to the workflow and i thought this might be a good solution.
Thanks
0
-
Hi, I don't know how to do that, but maybe you can try calling the RunWorkflowWithArguments command from your custom HTML5 module in order to pass information back to a workflow?
It'd look something like:let workflowArgs = { "workflowId": <your workflow id>, "argument1": "someargument" }; this.app.command("RunWorkFlowWithArguments").execute(workflowArgs);I've never used this viewer command myself but I think this would be the best way to get information back to a workflow.
You can look here (https://docs.geocortex.com/essentials/gvh/2.10/commands-help/#/commands/Workflow) for a list of viewer commands, I've found it quite useful myself.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar