Skip to content
Proud to collaborate with Microsoft for Startups

aria.tool-attach ​

Add a workflow to a hosted service's surface, with an optional localized name.

Offer one workflow, under the name the tenant chose.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-aria
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
slugstringYes——
workflow_typestringYes—Canonical workflow type
aliasstringNo—The name the model is shown
titlestringNo——
descriptionstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
servicejsonNo——
toolslistNo—The service's tool rows after the change
failure_reasonstringNo——
failed_at_statestringNo——
failed_stepjsonNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

Outcomes ​

OutcomeTypeDescriptionState Data Keys
attachedSUCCESSThe workflow joined the service's surfacetools
failedFAILUREThe action was refused or failedfailure_reason

Business Errors ​

CodeMessage Template
ARIA_SERVICE_NOT_FOUNDNo such service in this organization
ARIA_ABOVE_CEILINGNo hosted service may offer that workflow
ARIA_REFUSEDThe action was refused

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "aria.tool-attach",
  "initial_data": {
    "slug": "value",
    "workflow_type": "value"
  }
}