Account related

The following table provides the account related EL expressions.

Agent Env Variable Routing EL expression Example
DXAGENT_ACCOUNT_ATTR_* account.attributes['ATTRIBUTE_NAME']

${account.attributes['templateClass'].toUpperCase() eq 'AdClass'.toUpperCase()} - returns true

${account.attributes['transfersWebServiceAllowed']} - returns either false or true

DXAGENT_ACCOUNT_DELIVERY_METHOD account.
deliveryMethod
${account.deliveryMethod.
toLowerCase() == 'custom' }
DXAGENT_ACCOUNT_DISABLED account.disabled ${account.disabled != '0'} - returns true
DXAGENT_ACCOUNT_EMAIL account.email ${!empty account.email}
DXAGENT_ACCOUNT_ENROLLMENT account.
enrollment

${account.enrollment.toLowerCase() eq 'existing_account'}

DXAGENT_ACCOUNT_HTMLTEMPLATE account.
htmlTemplate
${account.htmlTemplate.substring(11,14) eq 'sm6'}
DXAGENT_ACCOUNT_ID account.id

${ !empty account.id}

DXAGENT_BUSINESS_UNIT_NAME account.
businessUnit.name
${account.businessUnit.name eq 'bu'} - returns true
DXAGENT_BUSINESS_UNIT_ID account.
businessUnit.id
${ !empty account.businessUnit.id}
DXAGENT_ACCOUNT_NAME account.name ${account.name eq 'template-routes'} - returns true
DXAGENT_ACCOUNT_NOTES account.notes ${ !empty account.notes}
DXAGENT_ACCOUNT_PHONE account.phone ${ !empty account.phone}
DXAGENT_ACCOUNT_TYPE account.type

${account.type eq 'template'}

${account.type != 'service'}

DXAGENT_HOMEDIR account.home ${parentFolder(transfer.targetDirFull) eq account.home}
DXAGENT_ACCOUNT_IMPLICIT_ENROLLMENT account.
implicit
Enrollment
${account.implicitEnrollment.
toLowerCase().matches('.*account')}
  account.attributes['userVars.xxx'] Access additional attribute of an account with name xxx.

Related topics:

Related Links