RunWorkflowByID task in the Viewer for HTML5 does not work. And I am trying to dynamic the workflows so it will be easy to deploy and configure them later. I was trying to parameterize my workflow GW5 with RunWorkflowById but it does not work.
-
You should use RunWorkflowWithArguments in stead of RunWorfklowById
https://docs.geocortex.com/essentials/gvh/latest/admin-help/Default.htm#gvh/admin/commands.htm
0 -
@Nico Burgerhart? , Thank you for helping me as this is my first project using GeoCortex.
I tried to use the RunWorkflowWithArguments in Run Command GW5 and it keeps showing the snapped error below,
I tried to play around with the parameter value - {arg:Newtonsoft.Json.Linq.JObject.Parse("{workflowId:'RunWorkflowByIDTest',foo:'foo'}")}
- Newtonsoft.Json.Linq.JObject.Parse("{workflowId:'RunWorkflowByIDTest',foo:'foo'}")
- {workflowId:'RunWorkflowByIDTest',foo:'foo'}
Not sure what is the correct format, I would appreciate if you explain it with an example.
Many thanks,
Yousef
0 -
It's not exactly clear for me what you want. Do you want to call a GW5 workflow from a GW5 workflow?
See the Run Workflow sample (Advanced Workflow tab in toolbar) in the sample sit.
https://gedemo.geocortex.com/Html5Viewer/index.html?viewer=GXWF_Sample_Site.GVH
Parent Workflow Available Here: https://latitudegeo.maps.arcgis.com/home/item.html?id=29f8eb8a02e1453aa49506a510689a77
Child Workflow Available Here: https://latitudegeo.maps.arcgis.com/home/item.html?id=09a1041894624dfa8669bbd6749001a8
0 -
I am trying to use the run command in the GW5 workflow to run a GW5 workflow by ID with parameters. Not depending on the URL.
Plus, using the IDs to run a GW5 workflow in the GeoCortex Essential Manager (Viewer for HTML5 )
Note: I could not see the workflow design for the Parent/Child Workflows sample because I do not have permissions.
How to leverage this sample?
0 -
You cannot run a GW5 workflow by ID, only by URL.
You can use the File > Open by URL function in Workflow Designer and use one of the URLs above. You are asked to create a copy.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
5 kommentarer