Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After adding the missing plus sign, the value saves successfully.

Known Issues

One issue found in testing that will be resolved in the future, but is open at this time is that in some situations if you make your groovy into multiple lines with plus signs If you make a multi-line groovy expression, and start lines with +, you may get the error:

[No signature of method: java.lang.String.positive() is applicable for argument types: () values: [] Possible solutions: notify(), tokenize(), size(), tokenize(), size()].

If you get In this error, move your code onto a single line.case, move the + signs to the ends of the lines above.

e.g. this might not work:

Code Block
"Test: " +  BranchName + EnvironmentCode
+ EnvironmentName + PackageName + ProjectName + ProjectVersion +
TargetGroupCode + TargetGroupName + WorkflowRequestor

but this will:

Code Block
"Test: " +  BranchName + EnvironmentCode +
EnvironmentName + PackageName + ProjectName + ProjectVersion +
TargetGroupCode + TargetGroupName + WorkflowRequestor