Notification helper records
To send a notification, a workflow creates a Notification Helper record from the Notification Helper business object in the triHelper module. After creating the record, the workflow sets the values of its fields, associates the record with triPeople records to identify the notification's recipients, and then sends the notification by triggering a Calculate action on the Notification Helper record.
- triIdTX
- Workflows must set the value of the triIdTX field to the ID of the Notification Content record that will provide the fixed portion of the notification's content.
- triInput1TX, triInput2TX, ..., triInput9TX
- These fields correspond to the place holders {1}, {2}, ..., {9} that may appear in the fixed content provided by the triNotificationContent record. The value in each of these fields will be substituted for the corresponding place holder in the content.
- triLanguageLI
- Workflows must set the value of the triLanguageLI field to the Language of the Notification Content record that will provide the fixed portion of the notification's content.
- triLinkedRecordTX
- If the notification should be associated with a record, this locator field should refer to the appropriate record.
- triLinkedRecordIdTX
- If the notification should be associated with a record, this text field should contain the system's internal ID of the record referenced by the triLinkedRecordTX field for the appropriate record. This is the field that identifies the record that will provide the variable content for the form report(s).
- triLinkedBusinessObjectLI
- The value of this field should be the label text of the business object that was used to create the record referenced by the triLinkedRecordTX field.
- triLinkedFormLI
- The value of this field should be the label text of the form associated with the record referenced by the triLinkedRecordTX field.
- triLinkedRecordStateTX
- The value of this field should be the state of the record referenced by the triLinkedRecordTX field.
- triLinkedRecordStatusCL
- The value of this field should be the status of the record referenced by the triLinkedRecordTX field.
- triSkipLinkedRecordLinkCreationBL
The associations needed to identify the recipients of a notification are discussed in "triPeople records".
Additional associations can be made to records in the Document Manager that will attach specific documents to the resulting notification that are not included in the Notification Content. To attach additional documents, associate the document record to the Notification Helper using the association Has Notification Attachment. To attach additional form reports, associate the document record to the Notification Helper using the association Has Notification Report.
To attach a binary field to an email as an attachment, associate a record of type EmailAttachment in the Mail module to the Notification record before triggering the notification action.
After the above fields are all set and the associations made, the workflow can trigger a Calculate action on the Notification Helper record to send the notification. After the Calculate action, the triSubjectTX field will contain the subject of the notification that was sent and the triContentTX field will contain the body of the notification.