ftos.backOffice.flows.close
Use this method to close any started backoffice flows.
This is a routes method for business service components.
IMPORTANT!
Starting with 24.3.2, the ftos.backOffice.flows.close method has a new version without the appDataFormId parameter
Starting with 24.3.2, the ftos.backOffice.flows.close method has a new version without the appDataFormId parameter
Syntax
Copy
function ftos.backOffice.flows.close()(recordId: string, appDataFormId: string, djInstanceId: string, resolution: string): void
| Parameter | Description |
|---|---|
reportId
|
Unique internal identifier of the backoffice flow you wish to close. |
appDataFormId (available until v24.3.1) |
The id of the app data form. |
djInstanceId
|
The id of the digital journey instance. |
resolution
|
The resolution whether the backoffice flow was closed or not. |
Example
Copy
ftos.backOffice.flows.close(ftos.context.Id,ftos.context.JourneyInstance.InstanceId,'Closed');