# Interface AbstractWorkflow

interface AbstractWorkflow {
__: any;
action?: string;
autoSave?: boolean;
onDone: (arg0: any) => any;
prepareForm: (form: any) => Promise<void>;
previewURL?: string;
run: (body: any, req: any) => Promise<RunResult | undefined>;
runStep: (context: any, stepIx: number) => Promise<RunResult | undefined>;
saveURL?: string;
singleStepForm: (body: any, req: any) => Promise<RunResult | undefined>;
startAtStepURL?: (stepName: string) => string;
steps: any[];
title: (step: any, stepIx: number) => string;
}

#### Implemented by

- Workflow

- Defined in model-abstracts/abstract_workflow.ts:37

##### Index

### Properties

__
action?
autoSave?
onDone
prepareForm
previewURL?
run
runStep
saveURL?
singleStepForm
startAtStepURL?
steps
title

## Properties

### __

__: any

- Defined in model-abstracts/abstract_workflow.ts:41

### `Optional` action

action?: string

- Defined in model-abstracts/abstract_workflow.ts:39

### `Optional` autoSave

autoSave?: boolean

- Defined in model-abstracts/abstract_workflow.ts:44

### onDone

onDone: (arg0: any) => any

- Defined in model-abstracts/abstract_workflow.ts:38

### prepareForm

prepareForm: (form: any) => Promise<void>

- Defined in model-abstracts/abstract_workflow.ts:51

### `Optional` previewURL

previewURL?: string

- Defined in model-abstracts/abstract_workflow.ts:45

### run

run: (body: any, req: any) => Promise<RunResult | undefined>

- Defined in model-abstracts/abstract_workflow.ts:47

### runStep

runStep: (context: any, stepIx: number) => Promise<RunResult | undefined>

- Defined in model-abstracts/abstract_workflow.ts:49

### `Optional` saveURL

saveURL?: string

- Defined in model-abstracts/abstract_workflow.ts:42

### singleStepForm

singleStepForm: (body: any, req: any) => Promise<RunResult | undefined>

- Defined in model-abstracts/abstract_workflow.ts:48

### `Optional` startAtStepURL

startAtStepURL?: (stepName: string) => string

- Defined in model-abstracts/abstract_workflow.ts:43

### steps

steps: any[]

- Defined in model-abstracts/abstract_workflow.ts:40

### title

title: (step: any, stepIx: number) => string

- Defined in model-abstracts/abstract_workflow.ts:50