Status: Open
Status: Answered
Status: Closed
Status: Duplicate

Comment Causes Code Deletion from Conditional Action or Calculation Formula

0
Posted Apr 26 by Metastorm.

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.


 You have subscribed and will receive email notifications of updates to this topic. To unsubscribe, uncheck the checkbox.

Statistics

Related categories

Your answer

To leave an answer, please sign in.