ftos.businessStatusWorkflow.getName
IMPORTANT!
Starting with v24.3.0, this is renamed from getBusinessStatusName to ftos.businessStatusWorkflow.getName.
Starting with v24.3.0, this is renamed from getBusinessStatusName to ftos.businessStatusWorkflow.getName.
Returns the name of a business status based on its ID.
This is a business logic method for business service components.
Syntax
function ftos.businessStatusWorkflow.getName(entityName: string, statusID: string): string
| Parameter | Description |
|---|---|
entityName
|
The name of the entity that has the business status is attached to. |
statusID
|
ID of the business status. |
Return Value
Returns a string value that contains the business status name.
Examples
In this example, we get the name of the business status with the c42af965-6279-4073-8dc4-8d5d28904986 ID which is attached to the Customers entity and store it in a variable called statusName.
var statusName = ftos.businessStatusWorkflow.getName('Customers', 'c42af965-6279-4073-8dc4-8d5d28904986');