Actions of Automated Tasks (COOAT@1.1001)

ReferenceName
COOAT@1.1001:AttrRepeatTimesDisp
COOAT@1.1001:AttrRepeatWeekDaysDisp
COOAT@1.1001:AttrTasksGet
COOAT@1.1001:GetInstance
COOAT@1.1001:RunTask
COOAT@1.1001:RunTaskList
COOAT@1.1001:ScheduleLocal
COOAT@1.1001:ScheduleSelectedTask
COOAT@1.1001:ScheduleTask
COOAT@1.1001:Shutdown
COOAT@1.1001:Signal
COOAT@1.1001:Startup

COOAT@1.1001:AttrRepeatTimesDisp

Additional Information

Prototype: COOSYSTEM@1.1:AttrGetDispPrototype
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Private: true


[top]

COOAT@1.1001:AttrRepeatWeekDaysDisp

Additional Information

Prototype: COOSYSTEM@1.1:AttrGetDispPrototype
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL
Private: true


[top]

COOAT@1.1001:AttrTasksGet

Gets the list of tasks from the property Tasks (COOAT@1.1001:attasks). The default implementation for this action is empty.

Additional Information

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


[top]

COOAT@1.1001:GetInstance

Gets the instance of a dispatcher.
ParameterTypeIn/OutOptionalDescription
instanceCOOSYSTEM@1.1:COMINTERFACEoutfalse The dispatcher instance.
workerCOOSYSTEM@1.1:COMINTERFACEinfalse The worker instance.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOAT@1.1001:RunTask

Executes the action (COOAT@1.1001:ataction) of the task on the target object (COOAT@1.1001:attarget). If no target object is specified, the task object is used.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOAT@1.1001:RunTaskList

Executes the tasks in the task list.
ParameterTypeIn/OutOptionalDescription
delaytillCOOSYSTEM@1.1:INTEGERoutfalse The number of seconds to wait until the next execution.
waitingCOOSYSTEM@1.1:INTEGERoutfalse The number of waiting tasks.
processedCOOSYSTEM@1.1:INTEGERoutfalse The number of processed tasks.
shutdownCOOSYSTEM@1.1:BOOLEANinfalse If it is True, the service is stopped.
taskerrorsCOOSYSTEM@1.1:STRINGLISToutfalse The errors occurred during the execution of the tasks.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOAT@1.1001:ScheduleLocal

Creates tasks without a task object and adds it to a queue. It executes the action for each element of the list. If an object is several times in the list, the action is executed only once on it. The tasks are created only in the memory of the Fabasoft Components/AT service.
ParameterTypeIn/OutOptionalDescription
objectsCOOSYSTEM@1.1:OBJECTLISTinfalse The list of objects the action is executed for.
actionCOOSYSTEM@1.1:OBJECTinfalse The action that is executed for each object in the list.
resourceCOOSYSTEM@1.1:OBJECTintrue The resource.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOAT@1.1001:ScheduleSelectedTask

Adds a new task to a task list and creates a new task object if necessary for each selected object. Calls the method COOAT@1.1001:ScheduleTask for each selected object. This method is specified to call the action for the selected objects only.

Additional Information

Call Mode for Actions on Selected Objects: CALLMODE_SELECTEDONLY
Called Action on Selected Objects: COOAT@1.1001:ScheduleTask
Prototype: COODESK@1.1:MenuActionPrototype
ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOAT@1.1001:ScheduleTask

Adds a new task to a task list and creates a new task object if necessary. If the object is a task object, it is added to the task list without creating a new task object.
ParameterTypeIn/OutOptionalDescription
tasklistsourceCOOSYSTEM@1.1:OBJECTinfalse
actionCOOSYSTEM@1.1:OBJECTinfalse
startatCOOSYSTEM@1.1:DATETIMEinfalse
calleditCOOSYSTEM@1.1:BOOLEANinfalse If the value is True, the Property Editor tool is opened to edit the task object. The default value is True.
resourceCOOSYSTEM@1.1:OBJECTintrue The resource object. If there exists an entry in a resource list that defines values for the maximum number of threads and the maximum runtime, these values are used for the tasks. If no values are defined, the default values are used.
taskCOOSYSTEM@1.1:OBJECTouttrue The created task.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOAT@1.1001:Shutdown

Stops the processing.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOAT@1.1001:Signal

Marks the task list as changed such that it is checked again for tasks to be executed. Calling this action is necessary only when you change a task that does exist in the task list and the execution of the action should be started immediately (with an average delay of 8 seconds instead of 30 seconds). Note that the current user needs the right to change the object. Besides a version is created automatically for each change by another user.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]

COOAT@1.1001:Startup

Is called when the Fabasoft Components/AT service is started. Define a postwrapper for this action, if you want to execute actions at service startup.
ParameterTypeIn/OutOptionalDescription
servicenameCOOSYSTEM@1.1:STRINGinfalse The name of the Fabasoft Components/AT service.

Additional Information

ACL Object: COOSYSTEM@1.1:DefaultDeveloperACL


[top]