Multi Dimensional Array
Has anyone ever used a multidimensional array to loop through within a workflow? I want to specify a array from passing an argument into the workflow as a paramater such as ({1,Hydrants},{2,Valves},{3,WaterPipe}) and then loop though that. specifying the name for the id number. Any ideas anyone?
-
Or how about using a dictionary?
Might be less confusing to someone else looking to see what you have done.
Regards
Ralph
0 -
I have never used a dictionary before, how do those work with workflow? Can you loop through it in the same way?
0 -
Thanks Ralph, any clue if you can dynamically define the dictionary through workflow paramaters? This is planned to be a common workflow to work in multiple sites with different layers and layer ids. We are wanting to define the layer ids and if the given id matches one in the dynamically built dictionary or list, then it would use the value of the id in the dictionary.
0 -
Hi Chris
I can't see any reason as to why you couldn't do that.
Regards
Ralph
0
Please sign in to leave a comment.
Comments
4 comments