Directly using urlEncode(), length(), capitalize() functions with Asset objects' attributes does not return any values

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Issue Summary

      Directly using urlEncode(), length(), capitalize() functions with Asset objects' attributes does not return any values. These functions can be found on this page.

      Steps to Reproduce

      1. Create a schema and add an object type to that schema.
      2. Add a Text type attribute say 'Attribute' of the object type and create an object.
      3. Create an Automation rule with Object updated trigger.
      4. Print the value of Name and Attribute using Log action: {{object.Name}} and {{object.Attribute}}. Run the rule by updating attribute value. This will show correct result.
      5. Now, print the value of attribute with functions like {{object.Attribute.length}}, {{object.Attribute.capitalize}} or {{object.Attribute.urlEncode}}

      Expected Results

      The values should not be empty

      Actual Results

      The values are empty

      Workaround

      Create a variable and then use {{<variable_name>.urlEncode))

            Assignee:
            Ayush Gupta
            Reporter:
            Ashutosh Sharma (Inactive)
            Votes:
            11 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: