I am currently trying to configure an instance of a Geocortex Viewer for HTML5 (4.14.2 in our case) to properly call AND pass into that workflow (can be either a Geocortex Essentials 4.14.2 Workflow OR a VertiGIS Studio 5.30.1 Workflow as either xaml can be added as a Workflow into our Site/Viewer), the point geometry resulting from a context menu selection configured to run the Workflow (from right clicking on map).
I have tried and failed thus far trying the following techniques:
1) Building an Essentials Workflow (using Workflow Designer 4.14.2) and both trying to properly configure the context menu item to pass in arguments to the workflow and then reference those workflow input arguments in the workflow designer itself. Trying to configure the Menu Item to use the "RunWorkflowWithArguments" properly to do so has caused me trouble, with the UI always issuing a warning that I have provided invalid JSON in the CommandParameter field, despite me entering what I believe to be valid JSON.
2) Building a VertiGIS Studio Workflow (5.30.1) utilizing the "Get Workflow Inputs" activity. That activity apparently should provide output usable in subsequent activities by referencing $getWorkflowInputs.inputs in the subsequent activity(s). However, trying to reference that object in subsequent activities by entering either $getWorkflowInputs.inputs.context OR $getWorkflowInputs.inputs["name"] hasn't worked for me. Perhaps I need help configuring the Map Context Menu item in Geocortex Essentials Manager in order to pass in the context object to the 5x workflow.
I feel like I'm wandering around in the dark a bit on this, so any reliable help with either approach above would be greatly appreciated. (screenshots would be awesome!)
Please sign in to leave a comment.