Hoppa till huvudinnehållet

First Workflow Doesn't Work

Kommentarer

3 kommentarer

  • Permanently deleted user
    I also noticed a similar behaviour with "snapping" when doing measurements.
    0
  • Permanently deleted user
    Still no response on this. For anyone with the same issue, it's the "Select" Task in our Workflows that was causing the issue. In order to make things work properly on the first run, we now have a startup workflow that runs a random Select that Subtracts from the results list and then uses an external command to quickly switch back to layer view. Not pretty in any way, but solves the issue for the moment.

     

    Would look into it further if we weren't moving to a new server.
    0
  • Permanently deleted user
    Hi Odiri,

     

    This behavior and similar ones can happen with the viewer due to the asynchronous load behavior on viewer startup.  We load modules asynchronously so that the user can do something with the map without waiting for every last module to load and initialize.  However, that means a startup workflow can start running before the rest of the viewer has loaded.

     

    Your solution should be fine.  I have also avoided startup issues by looping on a Get Map Service Info activity, repeating it until it returns with a valid service layer.  From there, I know that the service has loaded in the viewer and I can select features on it.

     

    Regards,

     

    -Malcolm
    0

Du måste logga in om du vill lämna en kommentar.