Workflow Designer: InvokeMethod
Hello,
I am looking for documentation or examples for how to use InvokeMethod to call a public method in workflow. The scenario we are interested in involves a form which asks the user to select a feature(s) using either point, polyline, or polygon, and then have workflow process the results on the map and search results. Is this a suitable example for when to use InvokeMethod and if so, are there steps available for how to use InvokeMethod or a list of public methods available from Geocortex? I can find no documentation on this subject.
Thank you.
-
Hi to all
since we are all 6 months older now, did anyone have any thoughts on this question?
- Where would I put such code
- do I need to Import it into the Workflow?
The example that I have is that I would like to report back to the user via an Alert all of the attributes of a Graphic.
The code that I would use is along the lines of the following block of code found at:help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Graphic~Attributes.html
Dim myStringBuilderDisplayText As New Text.StringBuilder
Dim allAttributes As System.Collections.Generic.IDictionary(Of String, Object) = graphicFeature.Attributes
For Each oneKey As String In allAttributes.Keys
Dim theValue As Object = allAttributes.Item(oneKey)
myStringBuilderDisplayText.Append(oneKey + ": " + theValue.ToString + vbCrLf)
Next
Return myStringBuilderDisplayText.ToStringThanks
Ralph Price
0 -
There is documentation for this task in our new Workflow documentation, available as a pdf download under Essentials 3.6 on our support site.
In general, you are invoking a method of a class, so you must be able to instantiate this class in the workflow in order to call the method.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer