Formula for Dynamic Role is not Evaluated as Expected

The information in this article applies to product: e-Work 6.x

Issue

  • The following formula for a dynamic role is not evaluated as %Originator:

    (( (1 = 1) )?("%Originator"):("%EMPTY()"))

Resolution

  • Formulas used for dynamic roles are treated as literal strings. If the formula contains operators that are not intended to be treated as literal strings, then the formula should be wrapped in a %Evaluate() function. Operators are ? + \* / -

    The proper syntax for the example above would be:

    %Evaluate((( (1 = 1) )?("%Originator"):("%EMPTY()")))

    See the Designer User Manual for additional information.

Tagged: