2022 June Release

Actions of COOWF@1.1:CaseStartInstance Permanent link for this heading

Return Type

Signature

void

AttrInstCaseNextDestructor(
  AttributeDefinition attrdef,
  any value)

void

AttrInstGatewayNextDestructor(
  AttributeDefinition attrdef,
  any value)

integer

EvaluateCase(
  out retval integer caseresult,
  out optional string[] activatedpaths)

void

InsertFirstElement(
  object elem,
  optional integer part)

void

InsertFirstSubProcess(
  object procdef,
  optional integer part)


COOWF@1.1:AttrInstCaseNextDestructor Permanent link for this heading

This action is used as property destructor action for the property instcasenext. It is called by the kernel, when an object with that property is destroyed. When an element in a process definition or instance is destroyed, automatically all successor elements are to be destroyed also.

void COOWF@1.1:AttrInstCaseNextDestructor(
  AttributeDefinition attrdef,
  any value)

Name

Description

attrdef

value

Additional Information


COOWF@1.1:AttrInstGatewayNextDestructor Permanent link for this heading

This action is used as property destructor action for the property instgwnext. It is called by the kernel, when an object with that property is destroyed. When an element in a process definition or instance is destroyed, automatically all successor elements are to be destroyed also.

void COOWF@1.1:AttrInstGatewayNextDestructor(
  AttributeDefinition attrdef,
  any value)

Name

Description

attrdef

value

Additional Information


COOWF@1.1:EvaluateCase Permanent link for this heading

This action is called on the start of a CASE switch, when the execution of a process instance reaches that point, to decide which path of the case switch has to be entered.

integer COOWF@1.1:EvaluateCase(
  out retval integer caseresult,
  out optional string[] activatedpaths)

Name

Description

caseresult

The result of the evaluation. Since CASE switches can be based on various enumeration types, this parameter is an integer value. It is casted to the enumeration type specified in the CASE switch.

activatedpaths

The activated outgoing flows of the diverging gateway instance

Additional Information


COOWF@1.1:InsertFirstElement Permanent link for this heading

This action can be called to insert a definition or instance element into a process definition or instance as the first element in the specified part.
The meaning of part depends on which object this action is called. On an IF condition a value of zero selects the THEN part and a value of one the ELSE part. On a CASE switch the value of part is used as zero-based index in the list of paths. Otherwise part has no meaning.

void COOWF@1.1:InsertFirstElement(
  object elem,
  optional integer part)

Name

Description

elem

The element to insert.

part

In the case of an IF condition or CASE switch selects the part where the element is inserted.

Additional Information


COOWF@1.1:InsertFirstSubProcess Permanent link for this heading

This action can be called to insert a sub process into a process instance as the first element in the specified part. The sub process is expanded before it is inserted.
The meaning of part depends on which object this action is called. On an IF condition a value of zero selects the THEN part and a value of one the ELSE part. On a CASE switch the value of part is used as zero-based index in the list of paths. Otherwise part has no meaning.

void COOWF@1.1:InsertFirstSubProcess(
  object procdef,
  optional integer part)

Name

Description

procdef

The process definition of the sub process.

part

In the case of an IF condition or CASE switch selects the part where the expanded sub process is inserted.

Additional Information