triUserMessageHelper
To create finished message text, a workflow creates a triUserMessageHelper record from the triUserMessageHelper business object in the triHelper module. After creating the record, the workflow sets the values of its fields and then finishes the message by triggering a Calculate action on the triUserMessageHelper record. After the message is finished, the workflow that triggered the Calculate action can copy the finished message text to the appropriate field in a form.
Here
are descriptions of the relevant fields in a triUserMessageHelper record:
- triIdTX
- Workflows must set the value of the triIdTX field to the ID of the triUserMessage record that will provide the fixed portion of the message's content.
- triLanguageLI
- Workflows must set the value of the triIdTX field to the Language of the triUserMessage record that will provide the fixed portion of the message's content. For a given ID there could be text for multiple languages. This field determines which message to retrieve. If the language selected is not found, the helper looks for a message in "US English".
- triInput1TX, triInput2TX, ..., triInput9TX
- These fields correspond to the place holders {1}, {2}, ..., {9} that may appear in the fixed content provided in the triUserMessage record. The value in each of these fields will be substituted for the corresponding place holder in the content.
- triUserMessageTX
- Triggering a Calculate action on the triUserMessageHelper record launches a workflow that creates a finished message with the value of the appropriate field substituted for each place holder. After the workflow is done, the finished message is in the triUserMessageTX field.