Trigger: When an activity is added

Review the following on creating a trigger that fires when an activity is added:

  • Type: Trigger
  • Occurs: Whenever a new activity is added to iMIS
πŸ“˜

Note

An edit/update will not fire this trigger

  • Polling interval: 2 minutes
  • Payload: The new Activity record that was just inserted
  • Splitting: The automation will run once for each new record.
πŸ‘

Example

If 5 activities are created in the 2-minute window, 5 separate automation runs will be started.

Trigger Filtering

To limit the trigger to certain activity types, add a trigger condition which will prevent the trigger from executing unless all conditions are met. Do the following:

  1. On the trigger item, press the ... menu button and choose Settings.
  2. In theΒ Trigger Conditions section, specify a trigger condition.
πŸ‘

Example

To filter the trigger to only run for certain activity types, enter the following condition: @equals(triggerBody()?['activityType'], 'GIFT')

  1. When finished, pressΒ Done.
πŸ“˜

Note

This works on any trigger, not just the Activity trigger.

Outputs

Code NameField NameType
actionCodesAction Codesstring
activityTypeActivity Typestring
amountAmountnumber
attachSeqnAttachment Sequenceinteger
attachTotalAttachment Totalnumber
batchNumBatch Numberstring
campaignCodeCampaign Codestring
categoryCategorystring
coIdCo IDstring
descriptionDescriptionstring
effectiveDateEffective Datestring(date)
gracePeriodGrace Periodinteger
idiMIS IDstring
intentToEditIntent To Editstring
memTribCodeMemorial/Tribute Codestring
memberTypeMember Typestring
nextInstallDateNext Install Datestring(date)
noteNotestring
note2Note 2string
objectObjectstring
orgCodeOrg Codestring
originatingTransNumOriginating Trans Numberinteger
otherCodeOther Codestring
otherIdOther IDstring
payMethodPay Methodstring
productCodeProduct Codestring
quantityQuantitynumber
recurringRequestRecurring Requestboolean
seqnSequenceinteger
solicitorIdSolicitor IDstring
sourceCodeSource Codestring
sourceSystemSource Systemstring
statusCodeStatus Codestring
taxableValueTaxable Valuenumber
thruDateThru Datestring(date)
ticklerDateTickler Datestring(date)
transactionDateTransaction Datestring(date)
uF1UF1string
uF2UF2string
uF3UF3string
uF4UF4number
uF5UF5number
uF6UF6string(date)
uF7UF7string(date)
unitsUnitsnumber


Did this page help you?