Skip to main content

Workflow error: 'supportsDynamicLayers' of undefined or null

Comments

4 comments

  • Kevin Penner
    Hi Lee,

     

    I think that's an ungraceful failure of the activity which would happen when the input map service id is not valid. Can you double check the input map service id and ensure that it exists in the map?

     

    -Kevin
    0
  • Permanently deleted user
    Hi Kevin,

     

    I'm getting the same error when attempting to run a similarly simple workflow. I've double checked the MapServiceID as well as the REST endpoint URL and LayerName. Everything seems to be in order. I did pare down my workflow from a more complex workflow in the code gallery. Is it possible I deleted something important?

     

    -Dan
    0
  • Kevin Penner
    Try setting the debug flag to true on the activity. It will show you what your inputs for mapserviceid and layer name are. I would then take these and double check against the REST endpoint HTML page.
    0
  • Jostein Svegården
    When you set the workflow properties in manager, the ID have to be assigned as a number, not a number string. So even though the argument type for the ID is string, you have to assign a number in the properties dialog. So 2 works, but "2" gives this error. Not what you should expect, but it has worked for me
    0

Please sign in to leave a comment.