Skip to main content

rest service id alternative name

Comments

5 comments

  • Permanently deleted user

    Hi Jeff,

          We are always looking at ways to improve workflow usability and maintainability. We may provide a way to specify either ID or name.

          We are also looking into making it easier to pass parameters into workflow from the site configuration.

    Stay tuned,

    Christian.

    0
  • James Brink

    Is there a way to Pass the ID of the mapservice and layer from a config file to the workflow?

    This way you could have the rest service url and parcel layer id for that application listed in the config file and the workflow could use it instead of hard coding the URL for the rest service and layer. I have been reading Beginning WF: Windows Workflow in .NET 4.0 by Mark J. Collins and it has examples of passing arguments from the Host to the Workflow. 

    Thanks

    Jimmy Brink

    0
  • Chris Dunlop

    Thought I'd revisit this thread, as I'm still not able to make my workflows as flexible as I'd like...

    The Get Map Service Info task lets you supply the Layer Name, and the Map Service ID, and outputs the Map Service URL and the Layer ID.  Seems to me the missing component is being able to supply the Map Service Name, and have it return the Map Service ID.

    I can keep map service names, and layer names within each service standard across all my sites.  But I have differing numbers of map services within each site, so I have to have multiple copies of the workflow to handle the changing map service ID numbers.  Am I missing something obvious here?

    Thanks

    Chris

    0
  • Kevin Penner

    Hi Chris,

    What you can do is setup workflow properties as a way to pass in parameters to your workflows which will help you in deploying your workflows across different environments. 

    I don't have the documentation infront of me, but I can roughly outline how to accomplish this.

    In your workflow designer, start by adding variables under the 'arguments' tab. Name the variables however you wish, and enter them into your Get Map Service Info task for Map Service Id and Layer Name.

    Then, in Essentials Manager, go to the workflow tab in your site and edit the workflow where can then add the named properties.

    Cheers,

    Kevin

    0
  • Permanently deleted user

    Durring one for the Workflow sessions at the Users Conference, an example was shown where the "Charlotte" was entered as the Map Service Id instead of a number.  How was this done as I cannot get my workflow to work with anything but a number.

    Having the ability to use the MapService name would be ideal.

    Thanks,

    Reily

    0

Please sign in to leave a comment.