Properties

Properties are used to generate steps and status rules.

Properties can refer to other properties, using the rules described in Object Placeholder Script.

Additional properties are generated during processing.

For the process and role properties, "reference" and "name" are copied from the surrounding object, if they are not given.

For the step properties:

  • "reference", "name", "roleReference" and "stepClass" are copied from the step, if they are not given.
  • "name" is defaulted to "reference", if it is not given.
  • A "process" property references the process-level properties.
  • A "role" property references the role properties for the role associated with the roleReference.
  • A "flows" property is generated, which is an object the property name of which are the flow references and the value of which are the flow properties.

For the flow properties:

  • "reference" and "name" are copied from the flow, if they are not given.
  • A "from" property is generated which references the properties of the containing step.
  • A "to" property is generated which references the properties of the step identified by "toReference".

This allows the properties to reference other parts of the process definition. Here are some examples:

  • Assuming a send step uses a flow reference of "send" to identify the recipient, the send role would be "${flows.send.to.role.reference}" and the sent-to step name would be "flows.send.to.stepName".
  • Assuming a step set the status using a status config property, a status rule (which runs from the flow) could refer to this as "${from.config.status}".