ftos.businessStatusWorkflow.checkCondition

IMPORTANT!  
Starting with v24.3.0, this is renamed from checkBusinessConditionforData to ftos.businessStatusWorkflow.checkCondition.

Evaluates a business workflow condition for a given record.

This is a business logic method for business service components.

Syntax

function ftos.businessStatusWorkflow.checkCondition(entityName: string, recordID: string, businessWorkflowConfigurationName: string, conditionName: string): boolean
 
Parameter Description
entityName Name of the evaluated record's parent entity.
recordID ID of the record to be evaluated by the business condition.
businessWorkflowConfigurationName Name of the business workflow configuration that contains the evaluation's business condition.
conditionName Name of the evaluation's business condition.

Return Value

Returns true if the condition is met and false if it isn't.

Examples