2022 June Release

COOWF@1.1:procdefprecondexpr Permanent link for this heading

Expression for Determining the Usability

Defines the condition expression which is evaluated before the process is started. This condition can be used to raise an error if some prerequisites to execute the process are not fulfilled.

If the new process should be initialized as subprocess of an existing process the current process is available in variable process.
If the current process is executed on more than one object all objects of the process are available in variable allprocessobjects.

string[] COOWF@1.1:procdefprecondexpr (
  optional object object,
  optional ProcessInstance process,
  object[] allprocessobjects)

Local Scope: dictionary
Returns: boolean

Name

Description

object

the object of the process

process

the process instance

allprocessobjects

if there is more than one object of the process the additional objects are supplied with this parameter.