You can adapt the contents of a message template in ARIS Risk & Compliance Manager. The texts contain functions that can be used to insert variable text into the message, for example, the name of the relevant user with $user.getName(). The functions are preceded by a $ and must not be changed.
Procedure |
Options or text for the automatic notification are changed. As long as you do not restore the message template to the default using the user interface, the content from the database is used. Another method of modifying a message template is similar to the method of adding a new message template (see Add a new message template). The only difference is that you adapt the property value. |
Remark |
If a message template requires values that can only be determined dynamically during runtime, they are incorporated as objects and variables. The difference between these two both options is that an object provides the methods for accessing values, while a variable has a given value. By default, the object responsible for the form flow is always available. You can access all attributes defined for these object types including Inheritance using the corresponding method. The usage of objects in a message template must comply with the following conventions:
Example Object type Testdefinition with defined ID TESTDEFINITION and attribute owner_group Access to this attribute in the message template: $testdefinition.getOwnerGroup() The following additional objects and variables are available by default:
If more objects or variables are required, they can only be provided by Java code implementation. User-defined implementations are indicated by message templates that already use additional objects and variables. |
Documents |
objectTypes.xml, objectTypes.xsd |
Example |
ModifyMessageTemplate_AddNewMessageTemplate \WEB-INF\config\custom\properties\application\custom.properties: Add contents to new message template |