Constraints on Field or Parameter Values

If you place any constraint on the possible values of a data field or a parameter of any Basic Type, that constraint is ignored at runtime. This is because BPM’s Process Engine cannot enforce these constraints.

Note: This section applies only if one of the destinations for your process is set as BPM.

For example:

  • If an Integer or Decimal field has its Length set to 9, a warning is displayed that format restrictions are not enforced, and at runtime you can still assign a value with more than 9 digits.
  • If a Decimal field has Decimal Places set to 2, a warning is displayed that format restrictions are not enforced, and at runtime you can still assign a value with 3 decimal places.
  • If a Text type data field has its Length set to 50, you can still assign a value with more than 50 characters.
    Warning: Note that in the case of the Text field, no warning is displayed.

You can produce the same effect as limiting the value of the field or parameter by using a BOM data type defined with the restricted values you need.