Pass feature geometry to workflow
Hello,
I am hoping someone can help me figure out the proper way to pass the geometry of a feature as an argument in a workflow. The scenario is that in the map tip for a feature I hope to hyperlink a workflow command. Instead of the first activity in the workflow being a "Query Task" to find the feature with that OBJECTID and return details such as geometry, for example, I want to eliminate that step by already knowing the geometry of the feature in question when the workflow begins.
I was hoping that the SHAPE field was going to be listed as a replacement token for the feature so I could pass that to the workflow. The map already knows the geometry of the features, I assume, because it has drawn the graphic on the map already and performed a Query operation when the map loaded...how that I leverage this information and use it to keep my workflows simplified.
Thanks for your time,
Adam
-
Thanks very much for the link @Mark Hoyland.
The answer is to use OBJECT TOKENS (Page 42-43 of Geocortex Essentials 4.3 Administrator Guide)
{$Geometry}: Represents the geometry of the graphics object associated with the current feature.
{$Geometry} is the only object token you can use with the RunWorkflowWithArguments command—you cannot use the {$Feature} or {$Graphic} object token with RunWorkflowWithArguments
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare