Class: FlowService
A service containing functionality for interacting with the Spiff Commerce API to execute and inspect the result of process flows.
Constructors
Constructor
new FlowService():
FlowService
Returns
FlowService
Methods
execute()
execute(
id,inputs,options?):Promise<FlowExecutionResult>
Parameters
id
string
inputs
FlowExecutionInput[]
options?
repeats?
number
sleepTime?
number
Returns
Promise<FlowExecutionResult>