Skip to main content

Work Flow

Work flows consist of processes.

Work Flow Object

FieldTypeDescription
idsnowflakethe work flows's id
organisation_idsnowflakethe id of the organisation

Work Flow Revision Object

Work Flow Process

FieldTypeDescription
idsnowflakethe work flows process' id
role_idsnowflakethe role required to complete a process
type[process type]The type of success flow
successsnowflakethe process to complete on success
failuresnowflakethe process to complete on failure
functionstringa function to perform
parametersobjectan object of parameters to feed into the function

assigned_to | user | the user the process step has been assigned to

Work Flow Process Type
NameValueDescription
manual0x0000Manually complete the process, such as an approval
automatic0x0001Automatically complete the process when a condition is met

Create Work Flow

POST /organisations/{organisation.id}/workflows