Contact conditions and actions
Contact class methods available to rule conditions and actions are listed below.
Conditions
Contact attribute | Syntax | Additional information | Return type |
Contact ID | contactId | String | |
External ID | externalId | String | |
Name | name | String | |
Status code | status | String | |
Type code | type.code | String | |
Sub type code | contactSubType.code | String | |
Identity code | contactIdentity.code | String | |
Juridical code | juridical.code | String | |
Classification code | classification.code | String | |
Classification 2 code | classification2.code | String | |
Classification 3 code | classification3.code | String | |
Tax country code | taxCountry.code | String | |
Nationality country code | nationality.code | String | |
Language code | language.code | String | |
Representatives Contact IDs | representativeCodesString.code | String | |
Representatives names | representativeNamesString | String | |
Has tag | hasTag("$1") | Boolean | |
Does not have tag | hasNotTag("$1") | Boolean | |
Has group tag | hasGroupTag("$1") | Boolean | |
Does not have group tag | hasNotGroupTag("$1") | Boolean |
Actions
Action | Syntax | Additional information | Input type |
Set Contact ID | setContactId("$1") | String | |
Set external ID | setExternalId("$1") | String | |
Set name | setName("$1") | String | |
Set status | setStatus("$1") | String | |
Add a tag | setTag("$1") | String | |
Remove a tag | removeTag("$1") | String |