---Decision Table----

Can we use Constants or Rules under decision Table?

Currently I believe either we have to hard code conditions or we have to execute a logic outside of the decision table and Pass into decision table as boolean in order to display Error message. Also  to display error message we have to hardcode it . can we create a constant and use it inside decision Table? can we execute the logics using expression rule inside a table?

  Discussion posts and replies are publicly visible

Parents Reply
  • yeah currently doing this only.

    ---------------------------------
    Field
    ---------------------------------
    a!integerField(
    label: "Number",
    value: ri!enteredValue,
    saveInto: ri!enteredValue,
    validations: rule!Test_Decision( boolean:rule!checkValue(ri!enteredValue)
    )
    ------------------------------------
    Rule
    -----------------------------------
    rule!checkValue ->contains-> or(len(ri!enteredValue)>255, ri!enteredValue<100)



    Looking for any other way of achieving this , instead of executing rule!checkValue outside of decision table.
Children