ebs.getBusinessStatusesMap

(FintechOS Studio 20.2.1 and later)

Returns the business statuses associated to an entity based on its business workflow configuration.

Also see ebs.changeBusinessStatus, ebs.changeBusinessStatusByName, and formData.refreshBusinessStatus.

Syntax

Copy
function ebs.getBusinessStatusesMap(entityName: string, callback: any, errorCallback: any): void;
 
Parameter Type Description
entityName string Name of the entity for which you wish to retrieve the business statuses.
callback function Callback function to run on the returned business statuses.
errorCallback (optional) function Callback function to run in case of failure.

Return Value

Returns the IDs and names for the extracted business statuses in a JSON object that can be used as input for the callback function.

For example:

Copy
{ "f1282ff1-e66b-41a1-a0aa-387ae415bbc7": "Newbie", "f2a738d4-4432-47c7-bc77-56d7147cf9a6": "Prospect", "93423298-dcb0-4f52-80c9-e979abf885b2": "Customer" }

Examples