Zum Hauptinhalt gehen

Results in For Each vary between Workflow Designer versions

Kommentare

1 Kommentar

  • Ryan Kelley

    Had a type in my example... repost:

    When getting attributes in a looping List on Feature Set results (For Each item in a fsResults.Features), a string value is not retrieved the way it was in previous GC Workflow Designer versions.  In my case, the value I am populating my keys in my dictionary is added without “{}” and is in lower case. So, when I get results from a REST query, and am trying to match the key and get the value in a dictionary, there are ZERO results.

    Example:

    Now when populating my dictionary, I have to change the key syntax from: item.Attributes("TRT_GUID").toString  TO "{" + (item.Attributes("TRT_GUID").toString).toUpper() + "}"

    The first string above works for 2.14.xxx, the second string needs to be used in 2.15.1.21

    What's the deal?  My attribute is a GUID type for the field.

    0

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