Skip to content
Proud to collaborate with Microsoft for Startups

identity.app.expose-virtual-workflow ​

Expose a virtual workflow to an app's end-users (eligibility-checked)

Expose a virtual workflow (composition_uuid + version) to an app's end-users.

Inputs:

  • actor, organization_uuid (required)
  • identity_app_uuid: the app (required)
  • composition_uuid, version: the SavedComposition to expose (required)

Outputs: exposed (bool), composition_uuid, version, step_count, and on refusal either ineligible_steps (types this app may not run at all) or unsealed_steps (types the app overrode, but the composition feeds them caller input — [{step, workflow_type, tainted_params}]). The two are different fixes: enable the type, versus stop passing it end-user input.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes——
organization_uuiduuidYes——
identity_app_uuiduuidYes——
composition_uuiduuidYes——
versionintegerYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
exposedbooleanYes——
composition_uuiduuidNo——
versionintegerNo——
step_countintegerNo——
ineligible_stepslistNo——
unsealed_stepslistNo——
unscoped_inputslistNo——
identity_app_uuiduuidNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
reasonstringNo——

States ​

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

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "identity.app.expose-virtual-workflow",
  "initial_data": {
    "actor": "value",
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "composition_uuid": "value"
  }
}