ftos.businessStatusWorkflow.getStatuses

IMPORTANT!  
Starting with v24.3.0, this is renamed from getBusinessStatusesMap to ftos.businessStatusWorkflow.getStatuses.

Returns a mapping of an entity's business statuses configured in its business workflow.

This is a business logic method for business service components.

Syntax

function ftos.businessStatusWorkflow.getStatuses(entityName: string): any
 
Parameter Description
entityName Name of the entity who's business statuses you wish to map.

Return Value

Returns a JSON object that contains key – value pairs of the entity's business statuses IDs and business statuses names.

Examples