Trigger: When an activity is added
iMIS Power Suite - Power Automate Connector
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
NoteAn 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.
ExampleIf 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:
- On the trigger item, press the ... menu button and choose Settings.
- In the Trigger Conditions section, specify a trigger condition.
ExampleTo filter the trigger to only run for certain activity types, enter the following condition: @equals(triggerBody()?['activityType'], 'GIFT')
- When finished, press Done.
NoteThis works on any trigger, not just the Activity trigger.
Outputs
| Code Name | Field Name | Type |
|---|---|---|
| actionCodes | Action Codes | string |
| activityType | Activity Type | string |
| amount | Amount | number |
| attachSeqn | Attachment Sequence | integer |
| attachTotal | Attachment Total | number |
| batchNum | Batch Number | string |
| campaignCode | Campaign Code | string |
| category | Category | string |
| coId | Co ID | string |
| description | Description | string |
| effectiveDate | Effective Date | string(date) |
| gracePeriod | Grace Period | integer |
| id | iMIS ID | string |
| intentToEdit | Intent To Edit | string |
| memTribCode | Memorial/Tribute Code | string |
| memberType | Member Type | string |
| nextInstallDate | Next Install Date | string(date) |
| note | Note | string |
| note2 | Note 2 | string |
| object | Object | string |
| orgCode | Org Code | string |
| originatingTransNum | Originating Trans Number | integer |
| otherCode | Other Code | string |
| otherId | Other ID | string |
| payMethod | Pay Method | string |
| productCode | Product Code | string |
| quantity | Quantity | number |
| recurringRequest | Recurring Request | boolean |
| seqn | Sequence | integer |
| solicitorId | Solicitor ID | string |
| sourceCode | Source Code | string |
| sourceSystem | Source System | string |
| statusCode | Status Code | string |
| taxableValue | Taxable Value | number |
| thruDate | Thru Date | string(date) |
| ticklerDate | Tickler Date | string(date) |
| transactionDate | Transaction Date | string(date) |
| uF1 | UF1 | string |
| uF2 | UF2 | string |
| uF3 | UF3 | string |
| uF4 | UF4 | number |
| uF5 | UF5 | number |
| uF6 | UF6 | string(date) |
| uF7 | UF7 | string(date) |
| units | Units | number |
