An automation rule which fires whenever a named event occurs in an organisation, and performs one or more configured actions. A trigger listens on a single event id and can be narrowed by up to five condition values, which are matched against the corresponding values carried by the event. A condition left null is not compared, so it matches any value on the event, including a null one. An optional condition script, in either the XML rule format or as an MVEL expression, is evaluated as a final check and the trigger only fires if it returns true. Sending an email is only one of the things a trigger can do, and each action has its own enabled flag: it can add the profile to a group or remove them from one, grant a reward, activate an alert, award CPD points, send an SMS, insert a value into a data series, run server side JavaScript, or create a TriggerTimer which re-fires the trigger after a delay. Email is the only action which is on by default, ie when its flag is null.

Group: Database Entities

Extends: BaseEmailJob

Implements: Serializable, Auditable


Properties

PropertyReturnsDescription
activateAlertEnabledBooleanWhether firing activates the configured alert. Null means disabled.
activebooleanWhether email items belonging to this trigger may be sent, which is true only while the trigger is enabled and not soft deleted.
addToGroupEnabledBooleanWhether firing adds the profile to the configured group. Null means disabled.
alertAlertThe alert activated when the trigger fires, if the alert action is enabled. Lazily loaded.
auditOrgOrganisationOrganisation the audit trail for this trigger is recorded against, which is the organisation that owns it.
awardCpdEnabledBooleanWhether firing awards CPD points against a certificate. Null means disabled.
awardCpdForCertCertificateThe certificate the CPD points are recorded against. If left null the platform tries to find a certificate associated with the module instead. Lazily loaded.
awardCpdModulePathStringPath of the learning module the CPD award relates to. If left blank the platform tries to derive it from the event, for example using the same module as a module progress event.
awardCpdNumPointsDoubleNumber of CPD points awarded when the trigger fires, if the CPD action is enabled.
conditionScriptMvelStringExtra condition expressed as an MVEL expression, up to 2000 characters. When present it is evaluated when the trigger matches and the actions run only if it returns true.
conditionScriptXmlStringExtra condition expressed in the XML rule format, up to 2000 characters. When present it is evaluated when the trigger matches and the actions run only if it returns true.
createTimerEnabledBooleanWhether firing creates a TriggerTimer, which re-fires this trigger once the configured delay has elapsed. Null means disabled.
dataSeriesAmountMvelStringMVEL expression which calculates the value inserted into the data series when the data series action runs.
dataSeriesCustomFieldsStringCustom field values to store on the inserted data series record, held as text of up to 3000 characters.
dataSeriesDateMvelStringMVEL expression which calculates the date the data series record is filed under. Null means the record is dated by the platform rather than by the event.
dataSeriesEnabledBooleanWhether firing inserts a record into a sales data series. Null means disabled.
dataSeriesNameStringName of the data series the record is inserted into when the data series action runs.
emailEnabledBooleanWhether the trigger sends its email when it fires. This is the one action which is on by default, so null means enabled; use isEnabledEmail for the resolved value.
enableAlertbooleanNull safe reading of the alert action flag.
enabledbooleanWhether the trigger is switched on. A disabled trigger is skipped when its event fires, and its pending timers are not processed.
enabledAddToGroupbooleanNull safe reading of the add-to-group action flag.
enabledAwardCpdbooleanNull safe reading of the CPD award action flag.
enabledCreateTimerbooleanNull safe reading of the create-timer action flag.
enabledEmailbooleanNull safe reading of the email action flag. Email is on by default, so an unset flag reads as true.
enabledInsertDataSeriesbooleanNull safe reading of the data series action flag.
enableGroupRemovebooleanNull safe reading of the remove-from-group action flag.
enableJavascriptbooleanNull safe reading of the JavaScript action flag.
enableRewardbooleanNull safe reading of the reward action flag.
enableSmsbooleanNull safe reading of the SMS action flag.
eventIdStringIdentifier of the event this trigger listens on, for example a module completion or a group registration. Required, and the main index used when looking up which triggers should fire for an event.
groupToJoinGroupThe group the profile joins when the trigger fires, if the add-to-group action is enabled. Lazily loaded.
includeUserbooleanWhether the email should also go to the profile associated with the event which fired the trigger, in addition to the recipient groups and organisations configured on the job.
javascriptStringServer side JavaScript run when the trigger fires, up to 10000 characters. It runs in the context of the website named by the JavaScript website property.
javascriptEnabledBooleanWhether firing runs the trigger's server side JavaScript. Null means disabled.
jsWebsiteWebsiteWebsite whose apps and libraries provide the context the trigger's JavaScript runs in. Lazily loaded.
numRewardsIntegerFixed number of reward units, such as points, to grant when the trigger fires. Ignored when a rewards MVEL expression is set, which calculates the amount instead.
numRewardsMVELStringMVEL expression, up to 2000 characters, which calculates how many reward units to grant, for cases where the amount depends on the event rather than being fixed.
removeFromGroupGroupThe group the profile is removed from when the trigger fires, if the remove-from-group action is enabled. Lazily loaded.
removeFromGroupEnabledBooleanWhether firing removes the profile from the configured group. Null means disabled.
rewardRewardThe reward granted when the trigger fires, if the reward action is enabled. Lazily loaded.
rewardEnabledBooleanWhether firing grants the configured reward. Null means disabled.
rewardPointsTagStringName of the points tag the granted points are filed under, so that awards from this trigger can be reported on and expired as a group.
rewardReasonStringText recorded against the points or reward transaction explaining why it was granted, shown to the participant in their transaction history.
sendPreferenceStringWhich channel the trigger prefers when both email and SMS are configured. Sending to both delivers both; the SMS preference falls back to email when the profile has no usable phone number.
smsEnabledBooleanWhether firing sends an SMS as well as, or instead of, the email. Null means disabled.
smsMessageStringBody of the SMS sent when the SMS action is enabled, up to 1000 characters.
smsProviderStringName of the SMS provider configuration used to send the message. Null falls back to the organisation's default provider.
timerExpressionStringExpression, up to 1000 characters, used to work out the timer fire date instead of the fixed unit and multiple.
timerMultipleIntegerHow many timer units the delay lasts, for example 3 with a unit of days means three days after the event.
timerTimeStringTime of day, as text, that a created TriggerTimer should fire at. When set, the hour and minute of the calculated fire time are overridden with this value, so a delay of two days can still land at 9am.
timerUnitTimeUnitUnit of the delay applied when a TriggerTimer is created: hours, days, weeks, months or annual. If it is null no delay can be calculated and the timer fires immediately.
triggerCondition1StringFirst condition value the event must carry for this trigger to fire, matched against the event's own first trigger item. A null condition is not compared, so it matches any value. Blank values are normalised to null by checkNulls.
triggerCondition2StringSecond condition value the event must carry for this trigger to fire, matched against the event's own second trigger item. A null condition is not compared, so it matches any value. Blank values are normalised to null by checkNulls.
triggerCondition3StringThird condition value the event must carry for this trigger to fire, matched against the event's own third trigger item. A null condition is not compared, so it matches any value. Blank values are normalised to null by checkNulls.
triggerCondition4StringFourth condition value the event must carry for this trigger to fire, matched against the event's own fourth trigger item. A null condition is not compared, so it matches any value. Blank values are normalised to null by checkNulls.
triggerCondition5StringFifth condition value the event must carry for this trigger to fire, matched against the event's own fifth trigger item. A null condition is not compared, so it matches any value. Blank values are normalised to null by checkNulls.

Inherited from BaseEmailJob

Properties

PropertyReturnsDescription
assetQueryIdStringIdentifier of a query asset which selects the content the email is built from. When set, the first asset the query returns supplies the subject, from and reply-to values named by the asset field properties.
attachmentsList<EmailJobAttachment>Files attached to every email this job sends. Each attachment refers to blob store content by hash rather than holding the bytes. Null on a job which has never had an attachment added.
categoryBaseEmailCategoryCategory the job is filed under, used to group related jobs within an organisation. Optional.
deletedBooleanSoft deletion flag. A job with items or timers against it is flagged deleted and renamed rather than removed, so its history survives. Null means not deleted.
filterScriptMvelStringRecipient filter expressed as an MVEL expression, up to 1000 characters. Recipients the expression does not evaluate to true for are dropped before sending.
filterScriptXmlStringRecipient filter expressed as the XML rule format, up to 1000 characters. Recipients the rule does not evaluate to true for are dropped before sending.
fromAddressStringAddress the emails are sent from. If blank the sender falls back to the organisation's admin domain, or to a noreply address on the primary domain.
fromAssetFieldStringName of the field on the asset selected by the asset query which supplies the from address, overriding the job's own from address when it resolves to a value.
groupRecipientsList<GroupRecipient>The groups this job sends to. Each entry can be an exclusion instead, in which case members of that group are removed from the recipient set rather than added to it. Lazily loaded, and null on a job which has never had a group recipient added.
htmlStringThe email body, held as an MVEL template of up to 500000 characters and evaluated once per recipient.
idlongDatabase identifier for this job. The subclasses share a single joined inheritance table, so the id is unique across scheduled emails, group emails and triggers alike.
loginTokensBooleanWhether links in the email should carry an auto-login token for the recipient, so that following one signs them in. Null is treated as false.
nameStringUnique, path-safe identifier for the job within its organisation, used as the lookup key and in admin URLs. Required. Soft deleting a job renames it with a '-Deleted-' suffix and a timestamp so the original name becomes available again.
notesStringFree text notes about the job, up to 20000 characters. Copying a job with mimic prepends a 'Copied from' line naming the job it was copied from.
numEmailsIntegerNumber of emails this job has queued for sending, recorded when the batch is generated so progress can be reported against it. Null before a batch has been generated.
organisationRecipientsList<OrganisationRecipient>The organisations this job sends to, with the same include or exclude semantics as the group recipients. Lazily loaded, and null on a job which has never had an organisation recipient added.
recipientSelectorsStringSerialised recipient selection, up to 10000 characters, which is the newer replacement for the group and organisation recipient collections.
replyToAddressStringAddress replies are directed to. If blank the from address is used instead.
replyToAssetFieldStringName of the field on the asset selected by the asset query which supplies the reply-to address, overriding the job's own reply-to address when it resolves to a value.
subjectStringSubject line for the emails this job sends, up to 1024 characters, evaluated as an MVEL template per recipient. If it is blank the sender falls back to a generated subject built from the job title.
subjectAssetFieldStringName of the field on the asset selected by the asset query which supplies the subject line. Only consulted when an asset query id is set; the job subject is used if the field is empty.
themeSiteWebsiteWebsite whose live branch supplies the surrounding email template. When set, the generated body is wrapped in that site's email theme; when null the MVEL result is sent as-is.
timeToSendDateThe time the job is intended to be sent at. Null on jobs which are not scheduled for a particular time.
titleStringFree text display label for the job, shown in the admin UI and used in the fallback subject line. Unlike the name it carries no uniqueness or path-safety guarantee and may be null.
typeStringFree text classification set by the caller and carried across when a job is copied. Not the Hibernate inheritance discriminator, which is a separate column the application does not expose.

Methods

asScheduledEmail() · asGroupEmail() · getId() · getName() · getTitle() · getNotes() · getSubject() · getFromAddress() · getReplyToAddress() · getGroupRecipients() · getOrganisationRecipients() · getThemeSite() · getHtml() · getFilterScriptXml() · getFilterScriptMvel() · getAssetQueryId() · getSubjectAssetField() · getFromAssetField() · getReplyToAssetField() · addGroupRecipient(Group g, boolean exclusion) · getType() · getAttachments() · getLoginTokens() · getDeleted() · getNumEmails() · getTimeToSend() · getRecipientSelectors() · deleted() · getCategory() · numEmails()

asScheduledEmail()

Returns: ScheduledEmail

Narrows this job to a ScheduledEmail, the recurring job type driven by a frequency and a start date.

asGroupEmail()

Returns: GroupEmailJob

Narrows this job to a GroupEmailJob, the one-off broadcast sent to a set of groups or organisations.

getId()

Returns: long

Database identifier for this job. The subclasses share a single joined inheritance table, so the id is unique across scheduled emails, group emails and triggers alike.

getName()

Returns: String

Unique, path-safe identifier for the job within its organisation, used as the lookup key and in admin URLs. Required. Soft deleting a job renames it with a '-Deleted-' suffix and a timestamp so the original name becomes available again.

getTitle()

Returns: String

Free text display label for the job, shown in the admin UI and used in the fallback subject line. Unlike the name it carries no uniqueness or path-safety guarantee and may be null.

getNotes()

Returns: String

Free text notes about the job, up to 20000 characters. Copying a job with mimic prepends a 'Copied from' line naming the job it was copied from.

getSubject()

Returns: String

Subject line for the emails this job sends, up to 1024 characters, evaluated as an MVEL template per recipient. If it is blank the sender falls back to a generated subject built from the job title.

getFromAddress()

Returns: String

Address the emails are sent from. If blank the sender falls back to the organisation's admin domain, or to a noreply address on the primary domain.

getReplyToAddress()

Returns: String

Address replies are directed to. If blank the from address is used instead.

getGroupRecipients()

Returns: List<GroupRecipient>

The groups this job sends to. Each entry can be an exclusion instead, in which case members of that group are removed from the recipient set rather than added to it. Lazily loaded, and null on a job which has never had a group recipient added.

getOrganisationRecipients()

Returns: List<OrganisationRecipient>

The organisations this job sends to, with the same include or exclude semantics as the group recipients. Lazily loaded, and null on a job which has never had an organisation recipient added.

getThemeSite()

Returns: Website

Website whose live branch supplies the surrounding email template. When set, the generated body is wrapped in that site's email theme; when null the MVEL result is sent as-is.

getHtml()

Returns: String

The email body, held as an MVEL template of up to 500000 characters and evaluated once per recipient.

getFilterScriptXml()

Returns: String

Recipient filter expressed as the XML rule format, up to 1000 characters. Recipients the rule does not evaluate to true for are dropped before sending.

getFilterScriptMvel()

Returns: String

Recipient filter expressed as an MVEL expression, up to 1000 characters. Recipients the expression does not evaluate to true for are dropped before sending.

getAssetQueryId()

Returns: String

Identifier of a query asset which selects the content the email is built from. When set, the first asset the query returns supplies the subject, from and reply-to values named by the asset field properties.

getSubjectAssetField()

Returns: String

Name of the field on the asset selected by the asset query which supplies the subject line. Only consulted when an asset query id is set; the job subject is used if the field is empty.

getFromAssetField()

Returns: String

Name of the field on the asset selected by the asset query which supplies the from address, overriding the job's own from address when it resolves to a value.

getReplyToAssetField()

Returns: String

Name of the field on the asset selected by the asset query which supplies the reply-to address, overriding the job's own reply-to address when it resolves to a value.

addGroupRecipient(Group g, boolean exclusion)

Returns: GroupRecipient

Adds a group to this job's recipient list, creating the recipient collection if the job did not have one. The new link is attached to the in-memory job only; it is not saved, so the caller must persist it.

ParameterDescription
gthe group to send to, or to exclude
exclusiontrue to exclude the group's members rather than include them

getType()

Returns: String

Free text classification set by the caller and carried across when a job is copied. Not the Hibernate inheritance discriminator, which is a separate column the application does not expose.

getAttachments()

Returns: List<EmailJobAttachment>

Files attached to every email this job sends. Each attachment refers to blob store content by hash rather than holding the bytes. Null on a job which has never had an attachment added.

getLoginTokens()

Returns: Boolean

Whether links in the email should carry an auto-login token for the recipient, so that following one signs them in. Null is treated as false.

getDeleted()

Returns: Boolean

Soft deletion flag. A job with items or timers against it is flagged deleted and renamed rather than removed, so its history survives. Null means not deleted.

getNumEmails()

Returns: Integer

Number of emails this job has queued for sending, recorded when the batch is generated so progress can be reported against it. Null before a batch has been generated.

getTimeToSend()

Returns: Date

The time the job is intended to be sent at. Null on jobs which are not scheduled for a particular time.

getRecipientSelectors()

Returns: String

Serialised recipient selection, up to 10000 characters, which is the newer replacement for the group and organisation recipient collections.

deleted()

Returns: boolean

Null safe reading of the soft deletion flag.

getCategory()

Returns: BaseEmailCategory

Category the job is filed under, used to group related jobs within an organisation. Optional.

numEmails()

Returns: Long

The queued email count as a long, for callers which need a widened value.


Methods

asEmailTrigger() · getEmailEnabled() · getRemoveFromGroup() · getRemoveFromGroupEnabled() · getAddToGroupEnabled() · getGroupToJoin() · getCreateTimerEnabled() · getTimerUnit() · getTimerMultiple() · getEventId() · getConditionScriptXml() · getConditionScriptMvel() · getTriggerCondition1() · isEnabled() · isIncludeUser() · getTriggerCondition2() · getTriggerCondition3() · getTriggerCondition4() · getTriggerCondition5() · getReward() · getNumRewards() · getNumRewardsMVEL() · getRewardEnabled() · getAlert() · getActivateAlertEnabled() · getRewardReason() · getRewardPointsTag() · getAwardCpdNumPoints() · getAwardCpdEnabled() · getAwardCpdForCert() · getAwardCpdModulePath() · getSmsEnabled() · getSmsMessage() · getSmsProvider() · getDataSeriesAmountMvel() · getDataSeriesDateMvel() · getDataSeriesEnabled() · getDataSeriesName() · getDataSeriesCustomFields() · getSendPreference() · getTimerTime() · getTimerExpression() · isJavascriptEnabled() · getJavascript() · getJsWebsite() · checkNulls() · isActive() · isEnabledInsertDataSeries() · isEnabledAwardCpd() · isEnabledAddToGroup() · isEnabledEmail() · isEnabledCreateTimer() · isEnableGroupRemove() · isEnableReward() · isEnableAlert() · isEnableSms() · isEnableJavascript() · getAuditOrg()

asEmailTrigger()

Returns: EmailTrigger

Narrows this job to an EmailTrigger, which for a trigger is always itself.

getEmailEnabled()

Returns: Boolean

Whether the trigger sends its email when it fires. This is the one action which is on by default, so null means enabled; use isEnabledEmail for the resolved value.

getRemoveFromGroup()

Returns: Group

The group the profile is removed from when the trigger fires, if the remove-from-group action is enabled. Lazily loaded.

getRemoveFromGroupEnabled()

Returns: Boolean

Whether firing removes the profile from the configured group. Null means disabled.

getAddToGroupEnabled()

Returns: Boolean

Whether firing adds the profile to the configured group. Null means disabled.

getGroupToJoin()

Returns: Group

The group the profile joins when the trigger fires, if the add-to-group action is enabled. Lazily loaded.

getCreateTimerEnabled()

Returns: Boolean

Whether firing creates a TriggerTimer, which re-fires this trigger once the configured delay has elapsed. Null means disabled.

getTimerUnit()

Returns: TimeUnit

Unit of the delay applied when a TriggerTimer is created: hours, days, weeks, months or annual. If it is null no delay can be calculated and the timer fires immediately.

getTimerMultiple()

Returns: Integer

How many timer units the delay lasts, for example 3 with a unit of days means three days after the event.

getEventId()

Returns: String

Identifier of the event this trigger listens on, for example a module completion or a group registration. Required, and the main index used when looking up which triggers should fire for an event.

getConditionScriptXml()

Returns: String

Extra condition expressed in the XML rule format, up to 2000 characters. When present it is evaluated when the trigger matches and the actions run only if it returns true.

getConditionScriptMvel()

Returns: String

Extra condition expressed as an MVEL expression, up to 2000 characters. When present it is evaluated when the trigger matches and the actions run only if it returns true.

getTriggerCondition1()

Returns: String

First condition value the event must carry for this trigger to fire, matched against the event's own first trigger item. A null condition is not compared, so it matches any value. Blank values are normalised to null by checkNulls.

isEnabled()

Returns: boolean

Whether the trigger is switched on. A disabled trigger is skipped when its event fires, and its pending timers are not processed.

isIncludeUser()

Returns: boolean

Whether the email should also go to the profile associated with the event which fired the trigger, in addition to the recipient groups and organisations configured on the job.

getTriggerCondition2()

Returns: String

Second condition value the event must carry for this trigger to fire, matched against the event's own second trigger item. A null condition is not compared, so it matches any value. Blank values are normalised to null by checkNulls.

getTriggerCondition3()

Returns: String

Third condition value the event must carry for this trigger to fire, matched against the event's own third trigger item. A null condition is not compared, so it matches any value. Blank values are normalised to null by checkNulls.

getTriggerCondition4()

Returns: String

Fourth condition value the event must carry for this trigger to fire, matched against the event's own fourth trigger item. A null condition is not compared, so it matches any value. Blank values are normalised to null by checkNulls.

getTriggerCondition5()

Returns: String

Fifth condition value the event must carry for this trigger to fire, matched against the event's own fifth trigger item. A null condition is not compared, so it matches any value. Blank values are normalised to null by checkNulls.

getReward()

Returns: Reward

The reward granted when the trigger fires, if the reward action is enabled. Lazily loaded.

getNumRewards()

Returns: Integer

Fixed number of reward units, such as points, to grant when the trigger fires. Ignored when a rewards MVEL expression is set, which calculates the amount instead.

getNumRewardsMVEL()

Returns: String

MVEL expression, up to 2000 characters, which calculates how many reward units to grant, for cases where the amount depends on the event rather than being fixed.

getRewardEnabled()

Returns: Boolean

Whether firing grants the configured reward. Null means disabled.

getAlert()

Returns: Alert

The alert activated when the trigger fires, if the alert action is enabled. Lazily loaded.

getActivateAlertEnabled()

Returns: Boolean

Whether firing activates the configured alert. Null means disabled.

getRewardReason()

Returns: String

Text recorded against the points or reward transaction explaining why it was granted, shown to the participant in their transaction history.

getRewardPointsTag()

Returns: String

Name of the points tag the granted points are filed under, so that awards from this trigger can be reported on and expired as a group.

getAwardCpdNumPoints()

Returns: Double

Number of CPD points awarded when the trigger fires, if the CPD action is enabled.

getAwardCpdEnabled()

Returns: Boolean

Whether firing awards CPD points against a certificate. Null means disabled.

getAwardCpdForCert()

Returns: Certificate

The certificate the CPD points are recorded against. If left null the platform tries to find a certificate associated with the module instead. Lazily loaded.

getAwardCpdModulePath()

Returns: String

Path of the learning module the CPD award relates to. If left blank the platform tries to derive it from the event, for example using the same module as a module progress event.

getSmsEnabled()

Returns: Boolean

Whether firing sends an SMS as well as, or instead of, the email. Null means disabled.

getSmsMessage()

Returns: String

Body of the SMS sent when the SMS action is enabled, up to 1000 characters.

getSmsProvider()

Returns: String

Name of the SMS provider configuration used to send the message. Null falls back to the organisation's default provider.

getDataSeriesAmountMvel()

Returns: String

MVEL expression which calculates the value inserted into the data series when the data series action runs.

getDataSeriesDateMvel()

Returns: String

MVEL expression which calculates the date the data series record is filed under. Null means the record is dated by the platform rather than by the event.

getDataSeriesEnabled()

Returns: Boolean

Whether firing inserts a record into a sales data series. Null means disabled.

getDataSeriesName()

Returns: String

Name of the data series the record is inserted into when the data series action runs.

getDataSeriesCustomFields()

Returns: String

Custom field values to store on the inserted data series record, held as text of up to 3000 characters.

getSendPreference()

Returns: String

Which channel the trigger prefers when both email and SMS are configured. Sending to both delivers both; the SMS preference falls back to email when the profile has no usable phone number.

getTimerTime()

Returns: String

Time of day, as text, that a created TriggerTimer should fire at. When set, the hour and minute of the calculated fire time are overridden with this value, so a delay of two days can still land at 9am.

getTimerExpression()

Returns: String

Expression, up to 1000 characters, used to work out the timer fire date instead of the fixed unit and multiple.

isJavascriptEnabled()

Returns: Boolean

Whether firing runs the trigger's server side JavaScript. Null means disabled.

getJavascript()

Returns: String

Server side JavaScript run when the trigger fires, up to 10000 characters. It runs in the context of the website named by the JavaScript website property.

getJsWebsite()

Returns: Website

Website whose apps and libraries provide the context the trigger's JavaScript runs in. Lazily loaded.

checkNulls()

Returns: void

Normalises the five trigger conditions so that a blank value becomes null, which is what the matching logic treats as 'match anything'. Call this after populating a trigger from a form, where empty inputs arrive as empty strings rather than nulls. Changes the in-memory object only.

isActive()

Returns: boolean

Whether email items belonging to this trigger may be sent, which is true only while the trigger is enabled and not soft deleted.

isEnabledInsertDataSeries()

Returns: boolean

Null safe reading of the data series action flag.

isEnabledAwardCpd()

Returns: boolean

Null safe reading of the CPD award action flag.

isEnabledAddToGroup()

Returns: boolean

Null safe reading of the add-to-group action flag.

isEnabledEmail()

Returns: boolean

Null safe reading of the email action flag. Email is on by default, so an unset flag reads as true.

isEnabledCreateTimer()

Returns: boolean

Null safe reading of the create-timer action flag.

isEnableGroupRemove()

Returns: boolean

Null safe reading of the remove-from-group action flag.

isEnableReward()

Returns: boolean

Null safe reading of the reward action flag.

isEnableAlert()

Returns: boolean

Null safe reading of the alert action flag.

isEnableSms()

Returns: boolean

Null safe reading of the SMS action flag.

isEnableJavascript()

Returns: boolean

Null safe reading of the JavaScript action flag.

getAuditOrg()

Returns: Organisation

Organisation the audit trail for this trigger is recorded against, which is the organisation that owns it.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.