ftos.data.isPersona

IMPORTANT!  
Starting with v24.3.0, this is renamed from isPersona to ftos.data.isPersona.

Checks if a record is associated with a customer persona.

This is a data service method for business service components.

Syntax

Copy
function ftos.data.isPersona(personaName : string, entityId : string): boolean;
 
Parameter Type Description
personaName string Name of the customer persona.
entityId string Record ID of the target entity instance that you wish to check whether it is associated with the customer persona.

Return Value

Returns True if the record is associated with the customer persona and False otherwise.

Examples