Workflow class

Hierarchy

  • Workflow

Implements

  • AbstractWorkflow

Constructors

Properties

__: any
action?: string
autoSave?: boolean
onDone: ((context) => any)

Type declaration

    • (context): any
    • Parameters

      • context: any

      Returns any

onStepSave?: ((step, context, formVals) => any)

Type declaration

    • (step, context, formVals): any
    • Parameters

      • step: any
      • context: any
      • formVals: any

      Returns any

onStepSuccess?: ((step, context) => any)

Type declaration

    • (step, context): any
    • Parameters

      • step: any
      • context: any

      Returns any

previewURL?: string
saveURL?: string
startAtStepURL?: ((stepName) => string)

Type declaration

    • (stepName): string
    • Parameters

      • stepName: string

      Returns string

steps: any[]

Methods

  • Parameters

    • Optional body: any
    • Optional req: any

    Returns Promise<undefined | RunResult>

  • Parameters

    • context: any
    • stepIx: number

    Returns Promise<undefined | RunResult>

  • Parameters

    • Optional body: any
    • Optional req: any

    Returns Promise<undefined | RunResult>

Generated using TypeDoc