Comment Causes Code Deletion from Conditional Action or Calculation Formula

The information in this article applies to:

Product: Metastorm BPM
Version: 7.x

Issue

  • In the Formula Editor in the Process Designer, a line of code and a line containing a comment are added to Only start action if for a conditional action, to the calculation formula for a form field, or to the formula for a dynamic role. After Save & Close is selected, the line of code is gone and only the comment remains.

Resolution

  • For the conditional action, the comment must be placed after the code and on the same line.

    Incorrect:
    %Ready = TRUE
    //The comments should not be here.

    //The comments should not be here.
    %Ready = TRUE

    Correct:
    %Ready = TRUE //The comments must be here.

  • Comments cannnot be used in the calculation formula for a form field or dynamic role.

Tagged:

Comments