ModelHooks module
Batch
Batch Entity
A model in the Hooks module, with 17 members for templates, 15 API properties and 18 members for admin templates.
Templates view
Properties 17
Take no arguments.
-
#
getAgentActionId() -
?int - Id of the agent action this batch runs, or null when its hook has none. Drives the re-run affordance: only batches that run an agent have a recorded invocation worth replaying, so only they are offered the replay/fresh choice. Serialised into the admin batch listing as a nullable id rather than a boolean because the webix conversion rewrites booleans to a translated "Yes"/"No".
-
#
getFolderPath() -
string - Get the folder to use when working with files (in the files module) for this batch
-
#
getId() -
?int -
#
getStatus() -
?string -
#
getCustomData() -
array -
#
getBatchEvent() -
?BatchEvent -
#
getCreated() -
?DateTime -
#
getModified() -
?DateTime -
#
getBatchActions() -
?Collection<atchAction> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.
API & Jobs view
API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.
Properties 15
Read-only values on the record.
-
#
agentActionId -
?int - Id of the agent action this batch runs, or null when its hook has none. Drives the re-run affordance: only batches that run an agent have a recorded invocation worth replaying, so only they are offered the replay/fresh choice. Serialised into the admin batch listing as a nullable id rather than a boolean because the webix conversion rewrites booleans to a translated "Yes"/"No".
-
#
folderPath -
string - Get the folder to use when working with files (in the files module) for this batch
-
#
id -
?int -
#
status -
?string -
#
customData -
array -
#
batchEvent -
?BatchEvent -
#
created -
?DateTime -
#
modified -
?DateTime -
#
batchActions -
?Collection<atchAction>
No members match the filter.
Admin view
AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.
Properties 18
Take no arguments.
-
#
getAgentActionId() -
?int - Id of the agent action this batch runs, or null when its hook has none. Drives the re-run affordance: only batches that run an agent have a recorded invocation worth replaying, so only they are offered the replay/fresh choice. Serialised into the admin batch listing as a nullable id rather than a boolean because the webix conversion rewrites booleans to a translated "Yes"/"No".
-
#
getFolderPath() -
string - Get the folder to use when working with files (in the files module) for this batch
-
#
getId() -
?int -
#
getStatus() -
?string -
#
getCustomData() -
array -
#
getBatchEvent() -
?BatchEvent -
#
getCreated() -
?DateTime -
#
getModified() -
?DateTime -
#
getBatchActions() -
?Collection<atchAction> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
No members match the filter.