Resources for configuration and management of Aidbox Workflows.

Overview

AWF module includes the following resource types:

  • AidboxTask
  • AidboxTaskLog
  • AidboxWorkflow
  • SchedulerRuleStatus
  • WebPushSubscription

AidboxTask

Path Card. Type Description
allowedRetryCount0..1integerMaximum number of retries allowed for this task.
concurrencyLimit0..1numberMaximum number of concurrent tasks allowed.
concurrencyPath0..*keyword
definition0..1stringIdentifier for the task definition.
error0..1Error details if task failed.
execId0..1stringUnique execution identifier.
executeAt0..1dateTimeScheduled time for task execution.
inProgressTimeout0..1numberMaximum duration in seconds that a task can remain in in-progress status before timing out.
label0..1string
outcome0..1stringFinal outcome of the task execution.

Allowed values: succeeded | failed | canceled

outcomeReason0..1Detailed reason for the task outcome.
outcomeReason.type0..1stringType of outcome reason.

Allowed values: awf.task/failed-due-to-in-progress-timeout | awf.task/failed-by-executor | awf.executor/unknown-error

outcomeReason.message0..1stringHuman-readable explanation of the outcome.
outcomeReason.data0..1Additional data related to the outcome.
params0..1Parameters required for task execution.
requestedToStartTimeout0..1numberMaximum duration in seconds that a task can remain in requested status before timing out.
requester0..1Entity that requested the task.
requester.id0..1stringIdentifier of the requester.
requester.resourceType0..1stringType of resource that made the request.
requester.display0..1stringHuman-readable display name of the requester.
requester.service0..1stringService that initiated the request.
requester.rule0..1stringRule that authorized the request.
result0..1Result data produced by successful task execution.
retryCount0..1numberNumber of times the task has been retried.
retryDelay0..1numberDelay in seconds before retrying a failed task.
status0..1stringCurrent status of the task.

Allowed values: created | ready | requested | in-progress | done | waiting

workflow-definition0..1stringReference to the workflow definition for this task.

AidboxTaskLog

Path Card. Type Description
action0..1stringName of the performed action.
action-params0..1ObjectParameters provided with the action.
re-scheduled0..1Definition of a rescheduled action.
re-scheduled.action0..1stringName of the rescheduled action.
re-scheduled.id0..1stringUnique identifier for the rescheduled action.
re-scheduled.delay0..1numberNew delay in seconds before executing the action.
re-scheduled.at0..1dateTimeNew specific time when the action should be executed.
re-scheduled.action-params0..1ObjectParameters for the rescheduled action.
scheduled0..1Definition of a scheduled action.
scheduled.action0..1stringName of the scheduled action.
scheduled.id0..1stringUnique identifier for the scheduled action.
scheduled.delay0..1numberDelay in seconds before executing the action.
scheduled.at0..1dateTimeSpecific time when the action should be executed.
scheduled.action-params0..1ObjectParameters for the scheduled action.
status-after0..1stringTask status after the action was performed.
status-before0..1stringTask status before the action was performed.
subject0..1Resource that is the subject of the action.
subject.id0..1stringIdentifier of the subject.
subject.resourceType0..1stringType of resource that is the subject.
subject.display0..1stringHuman-readable display name of the subject.

AidboxWorkflow

Path Card. Type Description
definition0..1string
error0..1Error details if workflow failed.
execId0..1stringUnique execution identifier.
executeAt0..1stringScheduled time for workflow execution.
label0..1stringHuman-readable label for the workflow.
outcome0..1stringFinal outcome of the workflow execution.

Allowed values: succeeded | failed | canceled

outcomeReason0..1Detailed reason for the workflow outcome.
outcomeReason.type0..1stringType of outcome reason.

Allowed values: awf.workflow/failed-by-executor | awf.executor/unknown-error

outcomeReason.message0..1stringHuman-readable explanation of the outcome.
outcomeReason.data0..1Additional data related to the outcome.
params0..1Parameters required for workflow execution.
requester0..1Entity that requested the workflow.
requester.id0..1stringIdentifier of the requester.
requester.resourceType0..1stringType of resource that made the request.
requester.display0..1stringHuman-readable display name of the requester.
requester.service0..1stringService that initiated the request.
requester.rule0..1stringRule that authorized the request.
result0..1Result data produced by successful workflow execution.
retryCount0..1numberNumber of times the workflow has been retried.
status0..1stringCurrent status of the workflow.

Allowed values: created | in-progress | done

SchedulerRuleStatus

Path Card. Type Description
allowedRetryCount0..1integerMaximum number of retries allowed for this rule.
concurrencyLimit0..1numberMaximum number of concurrent executions allowed for this rule.
concurrencyPath0..*keywordPath to the field used for concurrency control.
definition0..1stringIdentifier for the scheduler rule definition.
executeAt0..1dateTimeNext scheduled execution time for this rule.
id0..1stringUnique identifier for this scheduler rule status.
inProgressTimeout0..1numberMaximum duration in seconds that a task can remain in in-progress status before timing out.
label0..1stringHuman-readable label for the scheduler rule.
lastSchedule0..1dateTimeTimestamp of the last schedule attempt.
lastScheduleReference0..1Reference to the last scheduled task for this rule.
lastScheduleReference.id0..1stringIdentifier of the last scheduled task.
lastScheduleReference.resourceType0..1stringType of resource that was last scheduled.
lastScheduleReference.display0..1stringHuman-readable display name of the last scheduled task.
lastScheduleStatus0..1stringStatus of the last schedule attempt.

Allowed values: started | skipped

params0..1Parameters required for rule execution.
requestedToStartTimeout0..1numberMaximum duration in seconds that a task can remain in requested status before timing out.
retryDelay0..1numberDelay in seconds before retrying a failed rule execution.

WebPushSubscription

Path Card. Type Description
app0..1string
subscription0..1Web Push API subscription details.
subscription.endpoint0..1stringURL to which the push notification service should send notifications.
subscription.expirationTime0..1numberTime in seconds when the subscription will expire.
subscription.keys0..1Cryptographic keys needed for the push subscription.
subscription.keys.auth0..1stringAuthentication key for the subscription.
subscription.keys.p256dh0..1stringPublic key for the subscription (P-256 Diffie-Hellman).
user0..1Reference to the user who owns this subscription.
user.id0..1stringUser identifier.
user.resourceType0..1stringFixed value indicating this is a reference to a User resource.

Last updated 2025-05-06T09:17:20Z