flow

Function Description
ftos.flow.getContext Gets the flow context.
ftos.flow.initiate Initiates a new flow instance. It creates a flow and returns a GUID of the instance.
ftos.flow.continue Continue a flow instance (unlock on hold and next).
ftos.flow.forceClose Force close a flow instance with a specific status. The status will be visible only in the database. The flow itself does not have a status, the status is assigned to the instance.
ftos.flow.getProcessStatus Gets the process status of a flow instance.
ftos.flow.goToStep Navigate to a specific step in the flow. It moves the flow instance to a specific step, for example: screen1, screen2, etc.
ftos.flow.getBusinessState Returns a string representing the current business state of the flow instance; business states can be created/defined by the user.
ftos.flow.changeBusinessState Updates the business state of the flow instance to the specified stateName (a user-defined BusinessState).