Validations
- A workflow process must contain one and only one Context_RuntimeInformation workflow data object.
- A workflow data object name must be unique in the context of the containing workflow process definition.
- The name of a workflow data object must be a valid Java™ identifier.
- A user-defined workflow data object name cannot contain the prefix Context_ as this is a reserved prefix in the Cúram workflow system.
- Each workflow data object specified in the workflow process definition must contain at least one associated attribute.
- The workflow data object attribute name must be a valid Java identifier.
- A workflow data object attribute cannot be created with the name "value". This is a reserved attribute name in the Cúram workflow system.
- The type of a workflow data object attribute must be a valid Cúram base domain and must be contained in the DomainType codetable.
- A workflow data object attribute cannot be both marked as required for enactment and also marked as a constant value.
- A workflow data object attribute cannot have both a constant value and an initial value specified for it.
- If a workflow data object attribute has been marked as a constant, then a constant value must be supplied. Conversely, if the attribute has not been marked as a constant, then no such value should be specified.
- If the workflow data object attribute has been marked as a constant, then a blank value can only be specified for that attribute if the type of the attribute is a STRING.
- If the workflow data object attribute has been specified with an initial value, then a blank initial value can only be specified for that attribute if the type of the attribute is a STRING.
- If the workflow data object attribute has been marked as a constant, then the value specified as that constant must be compatible with the type of the associated attribute.
- If the workflow data object attribute has been specified with an initial value, then the value specified as that initial value must be compatible with the type of the associated attribute.
- The process output flag can only be set to true for a specified workflow data object attribute if the associated workflow process has been exposed as a webservice.