When trying to validate a custom script in GEL, I am receiving the following error:
BPM-0703: Custom script syntax error at line x, column x: The value of attribute "x" associated with an element type "core:while" must not contain the '<' character.
This is also happening even after replacing < with <
Steps to Reproduce:
- Create a new process with a step that uses a custom GEL script
- Use any of the 'core' tags (such as <core:while>) that has a value with & or < or > symbols
- Try to save the step
Expected Result: The custom action GEL script page should save successfully
Actual Result: The custom action GEL script page is not saved successfully and the BPM-0703 error message is generated
CA PPM v14.2 with patch level 1, 2 or 3.
Caused by CLRT-78560 and related to CLRT-78367 and CLRT-77500
Resolved in CA PPM 14.2 Generic Patch #4
Install latest generic patch available for CA PPM v14.2 as patch level 4 includes a fix for these GEL script issues. Still, the character < must be replaced with < and then the Validate option will accept the GEL script.
Instead of using the "less than, <" (<), the entities being compared can be swapped and use the "greater than, >" (>) operator, e.g.: "test < 1" can be temporarily changed for "1 > test".
Reference TEC1398937 : PPM 14.2 Generic Patch available to resolve reported issues
For more information on CLRT-77500, Reference TEC1168095 : BPM-7073 Error GEL Script in 14.2 when HTML img tag is present
For more information on CLRT-78367, Reference TEC1829325 : Backslash is deleted when saving a gel script that reads a pipe delimited file