Zum Hauptinhalt gehen

attachmentmanager workflow: No feature was found at that point

Kommentare

2 Kommentare

  • Zack Robison
    Welcome to Geocortex!  I don't know that I've used that workflow, or if I have it was some time ago, but I was jsut working on an attachment workflow last week!

     

    If I were you I'd start by identifying the activity which is causing the error... do you have that?  It may tell you in the error, unless the message is coming from the workflow itself.  In that case, it sounds like you're already using alerts to watch the workflow progress which is cool.  You can use that method to identify the sticking point, or you can look for the workflow's text in the workflow designer using the top-most search bar (underneath the toolbar).
    0
  • Permanently deleted user
    It is failing at the Activity = "Get Features from Layer". The expression selectedFeature.Features.Count() > 0 is false and the message "No Feature was found at that point" appears. 

     

    I figured out that the variable attachmentLayerQueryUrl was being set to the map service REST endpoint, not the Layer REST endpoint.

     

    Found the comment below in a student guide which led me down the right path:

     

    "In your own organizational environment, depending upon the type of service that you

     

    are using, you may need to further navigate to the layer’s REST endpoint."

     

    So the Assign Query Url activity became

     

    attachmentLayerQueryUrl = String.Format("{0}/{1}",AttachmentLayers(0).MapServiceUrl,AttachmentLayers(0).Id)

     

    So the ability to select a feature point, in my case a valve, is working now.

     

    To summarize, the out of the box workflow needs to be modified to use a Layer REST endpoint, not the Map REST endpoint to work in our environment
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.