Skip to content

@saflib/workflows


Interface: UpdateStepInput

Input for the UpdateStepMachine.

Properties

fileId

fileId: string

The id of the file the user is expected to update. Must match one of the keys in the templateFiles property for the workflow.


prompt?

optional prompt: string

The message to show to the user. The machine will then stop until the workflow is continued.


promptMessage?

optional promptMessage: string | (context) => string

The message to show to the user. The machine will then stop until the workflow is continued.

Deprecated

Use prompt instead.