Object Class Condition (COOWF@1.1:ConditionStartInstance)

Object Class Hierarchy

COOSYSTEM@1.1:Object > COOWF@1.1:InstanceElement > COOWF@1.1:ConditionStartInstance

Objects of this class are used for the start point of an IF-THEN-ELSE condition in a process instance. Conditions are represented by two objects, one representing the start point, that contains the condition, and one representing the end point.
The condition can be created based on object properties of type INTEGER, FLOAT, STRING, BOOLEAN, DATETIME, enumeration types and object pointer types. These properties can also be nested in compound properties. Instead of a condition an action can be specified. This action determines whether or not the condition is fulfilled.

Additional Information

Default Background Menu: COODESK@1.1:MenuRootWinContext
Compound: false
Action for Moving Objects: COODESK@1.1:DragIntoMove
Default Context Menu (Container Independent): COOWF@1.1:MenuRootDirectContext
Abstract: false
ACL Object: COOSYSTEM@1.1:DefaultGlobalACL
Programmatic Use: true
Default ACL for New Objects: COOWF@1.1:DefaultInstanceACL
Symbol: COODESK@1.1:SymbolActivity
Default Context Menu: COODESK@1.1:MenuRootContext
Base Class: COOWF@1.1:InstanceElement
Action for Linking Objects: COODESK@1.1:DragIntoLink
Display Mode: DISP_LINES
Action for Copying Objects: COODESK@1.1:DragIntoCopy
Default Main Menu: COODESK@1.1:MenuRootFolder

Properties

ReferenceName
COOWF@1.1:actinstprevPredecessor Activities
COOWF@1.1:actinsttitleTitle
COOWF@1.1:instcondactionAction to Evaluate Condition
COOWF@1.1:instcondendEnd of Condition
COOWF@1.1:instcondevaluatedEvaluated on/at
COOWF@1.1:instconditionCondition (Old)
COOWF@1.1:instcondresultResult
COOWF@1.1:instcondskippedSkipped on/at
COOWF@1.1:instcondstrCondition
COOWF@1.1:instelsenextSuccessor Activities if Condition Is Not Fulfilled
COOWF@1.1:instthennextSuccessor Activities if Condition Is Fulfilled

Actions

ReferenceName
COOSEARCH@1.1:EditConditionContent
COOSEARCH@1.1:ViewConditionContent
COOWF@1.1:AttrInstConditionGet
COOWF@1.1:AttrInstConditionGetVersion
COOWF@1.1:EvaluateCondition
COOWF@1.1:GetConditionString
COOWF@1.1:InsertFirstElement
COOWF@1.1:InsertFirstSubProcess

Properties

COOWF@1.1:actinstprev (Predecessor Activities)

This property stores the list of process instance elements that preceed the instance element in the process instance.

Additional Information

Changeable in Installed Component: true
Default Main Menu: COOWF@1.1:MenuRootWorkList
Action Called Before Property Is Saved: COOWF@1.1:AttrInstElemSet
Use Only Actions Defined for Property: true
Multiple Values (Overrides Type): true
Type: COOSYSTEM@1.1:OBJECTLISTUNIQ
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Default Background Menu: COOWF@1.1:MenuRootWinWorkList
Possible Object Class: COOWF@1.1:InstanceElement
Search for Allowed Classes Only: true
Changeable: true
Action to Copy Property From Object: COOSYSTEM@1.1:NoOperation
Must Be Defined: false
Automatically Follow Object Pointer: true
Visible: true


[top]

COOWF@1.1:actinsttitle (Title)

This property stores the title of the activity instance. This is a multilingual string.
If the activity instance is created from an activity definition, this property is initialized with the value of COOWF@1.1:actdeftitle.

Additional Information

Type: COOSYSTEM@1.1:LanguageStringList
Changeable: true
Action to Search Object Property: COOSYSTEM@1.1:AttrSearchNotPossible
Visible: true
Must Be Defined: false
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Action Called Before Property Is Saved: COOWF@1.1:AttrInstElemSet
Changeable in Installed Component: true


[top]

COOWF@1.1:instcondaction (Action to Evaluate Condition)

This property stores the action that is used to evaluate the condition of the IF/REPEAT-element in a process instance. Such an action can be a Fabasoft Components action or an ActiveX script. This action determines whether or not the condition is fulfilled. The result of the evaluation has to be returned in the transaction variable number 10 of type COOSYSTEM@1.1:BOOLEAN.
If the IF/REPEAT-element instance is created from a definition, this property is initialized with the value of COOWF@1.1:defcondaction.

Additional Information

Action to Copy Property From Object: COOWF@1.1:AttrInstDefinitionCopy
Type: COOWF@1.1:WorkFlowEvalAction
Changeable: true
Visible: true
Must Be Defined: false
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Action Called Before Property Is Saved: COOWF@1.1:AttrInstElemSet
Changeable in Installed Component: true


[top]

COOWF@1.1:instcondend (End of Condition)

This property stores the end part of the IF-element in the process instance.

Additional Information

Changeable in Installed Component: true
Action Called to Archive Property: COOSYSTEM@1.1:AttrObjArchive
Action Called to Restore Property From Archive: COOSYSTEM@1.1:AttrObjRestArchive
Action Called Before Property Is Saved: COOWF@1.1:AttrInstElemSet
Destructor Action: COOWF@1.1:AttrObjectDestructor
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Type: COOSYSTEM@1.1:OBJECT
Possible Object Class: COOWF@1.1:ConditionEndInstance
Search for Allowed Classes Only: true
Changeable: true
Action to Copy Property From Object: COOSYSTEM@1.1:NoOperation
Must Be Defined: true
Automatically Follow Object Pointer: true
Visible: true


[top]

COOWF@1.1:instcondevaluated (Evaluated on/at)

This property stores the date and time of the condition evaluation of the IF/REPEAT-element in the process instance. This property is set automatically and must not be changed afterwards.

Additional Information

Changeable in Installed Component: true
Action Called Before Property Is Saved: COOWF@1.1:AttrInstElemSet
Changeable in User Interface: false
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Type: COOSYSTEM@1.1:DATETIME
Disable Conversion: false
Changeable: true
Action to Copy Property From Object: COOSYSTEM@1.1:NoOperation
Must Be Defined: false
Use Date Only: false
Visible: true


[top]

COOWF@1.1:instcondition (Condition (Old))

This property stores the condition of the IF/REPEAT-element in a process instance.
This property is replaced by COOWF@1.1:instcondstr and is maintained only for backwards compatibility.

Additional Information

Type: COOSYSTEM@1.1:Content
Changeable: true
Visible: false
Must Be Defined: false
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Action Called Before Property Is Saved: COOWF@1.1:AttrInstElemSet
Changeable in Installed Component: true


[top]

COOWF@1.1:instcondresult (Result)

This property stores the result value of the evaluation of the IF/REPEAT-element in a process instance. This property is set automatically and must not be changed afterwards.

Additional Information

Changeable in Installed Component: true
Action Called Before Property Is Saved: COOWF@1.1:AttrInstElemSet
Changeable in User Interface: false
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Type: COOSYSTEM@1.1:BOOLEAN
Changeable: true
Action to Copy Property From Object: COOSYSTEM@1.1:NoOperation
Must Be Defined: false
Visible: true


[top]

COOWF@1.1:instcondskipped (Skipped on/at)

This property stores the date and time when the condition element was cancelled cause a differen path of a superior control elemet was activated.

Additional Information

Changeable in Installed Component: true
Action Called Before Property Is Saved: COOWF@1.1:AttrInstElemSet
Changeable in User Interface: false
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Type: COOSYSTEM@1.1:DATETIME
Disable Conversion: false
Changeable: true
Action to Copy Property From Object: COOSYSTEM@1.1:NoOperation
Must Be Defined: false
Use Date Only: false
Visible: true


[top]

COOWF@1.1:instcondstr (Condition)

This property stores the condition of an IF/REPEAT-element in a process instance as a string. If this property has no value and the property COOWF@1.1:instcondition has no value, the action stored in property COOWF@1.1:instcondaction is executed.
If the IF/REPEAT-element instance is created from a definition, this property is initialized with the value of COOWF@1.1:defcondition.

Additional Information

Changeable in Installed Component: true
Action Called Before Property Is Saved: COOWF@1.1:AttrInstElemSet
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Type: COOSYSTEM@1.1:STRINGLIST
Action to Search Object Property: COOSYSTEM@1.1:AttrSearchNotPossible
Action Called After Property Is Read: COOWF@1.1:AttrInstConditionGet
Maximum Length: 254
Changeable: true
Action Called After Property of Version Is Read: COOWF@1.1:AttrInstConditionGetVersion
Must Be Defined: false
Visible: true


[top]

COOWF@1.1:instelsenext (Successor Activities if Condition Is Not Fulfilled)

This property stores the list of the next instance elements, where the execution path continues, if the condition in the IF-element is not fulfilled.

Additional Information

Action to Copy Property From Object: COOSYSTEM@1.1:NoOperation
Default Background Menu: COOWF@1.1:MenuRootWinWorkList
Use Only Actions Defined for Property: true
Visible: true
Multiple Values (Overrides Type): true
Search for Allowed Classes Only: true
Possible Object Class: COOWF@1.1:InstanceElement
Action Called Before Property Is Saved: COOWF@1.1:AttrInstElemSet
Changeable: true
Action Called to Restore Property From Archive: COOSYSTEM@1.1:AttrObjRestArchive
Action Called to Archive Property: COOSYSTEM@1.1:AttrObjArchive
Automatically Follow Object Pointer: true
Default Main Menu: COOWF@1.1:MenuRootWorkList
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Type: COOSYSTEM@1.1:OBJECTLISTUNIQ
Destructor Action: COOWF@1.1:AttrObjectListDestructor
Changeable in Installed Component: true
Must Be Defined: false


[top]

COOWF@1.1:instthennext (Successor Activities if Condition Is Fulfilled)

This property stores the list of the next instance elements, where the execution path continues, if the condition in the IF-element is fulfilled.

Additional Information

Action to Copy Property From Object: COOSYSTEM@1.1:NoOperation
Default Background Menu: COOWF@1.1:MenuRootWinWorkList
Use Only Actions Defined for Property: true
Visible: true
Multiple Values (Overrides Type): true
Search for Allowed Classes Only: true
Possible Object Class: COOWF@1.1:InstanceElement
Action Called Before Property Is Saved: COOWF@1.1:AttrInstElemSet
Changeable: true
Action Called to Restore Property From Archive: COOSYSTEM@1.1:AttrObjRestArchive
Action Called to Archive Property: COOSYSTEM@1.1:AttrObjArchive
Automatically Follow Object Pointer: true
Default Main Menu: COOWF@1.1:MenuRootWorkList
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Type: COOSYSTEM@1.1:OBJECTLISTUNIQ
Destructor Action: COOWF@1.1:AttrObjectListDestructor
Changeable in Installed Component: true
Must Be Defined: false


[top]

Actions

COOSEARCH@1.1:EditConditionContent

Edit search condition property

Additional Information

Prototype: COOATTREDIT@1.1:AttrUIActionPrototype
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOSEARCH@1.1:ViewConditionContent

View search condition property

Additional Information

Prototype: COOATTREDIT@1.1:AttrUIActionPrototype
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOWF@1.1:AttrInstConditionGet

This action is used as property get action for the property COOWF@1.1:instcondstr. It is called by the kernel, when that property is read. This action is used as migration path for the property COOWF@1.1:instcondition, which is not used any more.

Additional Information

Prototype: COOSYSTEM@1.1:AttrGetPrototype
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOWF@1.1:AttrInstConditionGetVersion

This action is used as property get version action for the property COOWF@1.1:instcondstr. It is called by the kernel, when that property is read for a version. This action is used as migration path for the property COOWF@1.1:instcondition, which is not used any more.

Additional Information

Prototype: COOSYSTEM@1.1:AttrGetVersionPrototype
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOWF@1.1:EvaluateCondition

This action is called on the start of an IF condition or the end of a REPEAT loop, when the execution of a process instance reaches that point, to decide which path has to be entered. In the case of an IF condition it decides, if the THEN or the ELSE part is entered. In the case of a REPEAT loop it decides, if the loop will be repeated.
ParameterTypeIn/OutOptionalDescription
condresultCOOSYSTEM@1.1:BOOLEANoutfalse If set to True, the THEN part is entered or the loop is terminated. If set to False, the ELSE part is entered or the loop is repeated.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOWF@1.1:GetConditionString

This action is called by the process editor to format the condition in IF conditions or REPEAT loops to a readable form, that is displayed in the graphical process editor.
ParameterTypeIn/OutOptionalDescription
attrdefcontCOOSYSTEM@1.1:OBJECTinfalse The string or content property that contains the formal condition.
condstringCOOSYSTEM@1.1:STRINGoutfalse The condition with references replaced by the language dependent names.
attrdefactionCOOSYSTEM@1.1:OBJECTintrue The property that contains the action or script, that is used to evaluate the condition, if no condtion is found in the property specified in attrdefcont.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOWF@1.1:InsertFirstElement

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.
ParameterTypeIn/OutOptionalDescription
elemCOOSYSTEM@1.1:OBJECTinfalse The element to insert.
partCOOSYSTEM@1.1:INTEGERintrue In the case of an IF condition or CASE switch selects the part where the element is inserted.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOWF@1.1:InsertFirstSubProcess

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.
ParameterTypeIn/OutOptionalDescription
procdefCOOSYSTEM@1.1:OBJECTinfalse The process definition of the sub process.
partCOOSYSTEM@1.1:INTEGERintrue In the case of an IF condition or CASE switch selects the part where the expanded sub process is inserted.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]