Hoppa till huvudinnehållet

Labelling selected features

Kommentarer

2 kommentarer

  • Stefan Schweigert

    Hi Peter,

     

    The only time that I have seen this particular error message appears is when running multiple server workflows that potentially run or access the same file, which doesn't appears to be the case.

     

    Is there are particular activity that this is failing on? Are you able to share a version of your workflow to review?

     

    Thanks, Stefan

    0
  • Permanently deleted user

    Stefan,

    The workflow thows the error when I try to update the graphic's symbol from within a ForEach<graphic> loop (the last Assign activity in the image below) where I loop through each graphic in a FeatureSet (returned from a query task).  The reason for this is so I can label each of the selected features with it's official name attribute.

    The resultLabel = feat.Attributes.Item("OFFICIAL_NAME").toString()

    The featureSymbol = new Symbols.TextSymbol() with {.Text = resultLabel}

     

    updating-symbol-workflow?

    0

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