Configuring business events for observations
The following procedure explains how you can create a business event and decision model for observations:
Procedure
1. In Field definer , select the Business events business object and create a user-defined business object: Observation event.
2. In the Attributes TSI, create an attribute set: Observation event.
3. Create the following attributes and link them to the set:
| When specifying attribute definitions, make sure to copy the exact names and enter these in the Code field - the system will use these as look-up value. Most of the attributes listed below are optional, so you do not need to add them all. If you forget to add a mandatory attribute, or if you made a configuration error, this is indicated in the Error log and Failed fields of the business event. For a comprehensive overview of the attributes used in the Decision model for observations and the related business events see: Attributes overview. |
◦ Answerline - integer
◦ AssessmentResultCode - single line
◦ Comment - multi lines
◦ ObservationCode - single line
◦ ObservationGroupCode - single line
◦ SpaceCode - single line
◦ StdObservationCode - single line
◦ ObsPriorityCode - single line
| The Property code and Asset code do not require an attribute as they are available as regular fields. |
4. In the Decision models TSI, create a decision model: Observation model.
5. Define decision rules for this model.
Each rule must have a
condition and an
action worker. If the worker requires additional information, you must link the correct attribute set for the worker to the decision rule. See
Configuring action workers for a decision rule. If the decision rule also creates a follow-up action, the observation is automatically linked to the follow-up action, so that the observation can be marked as 'resolved' (ended) later.
6. In Field definer , configure the relevant business object settings on the Observations business object.
Business object definition => Select user-defined business object Observation event.
Attribute definition set => Select attribute set Observation event
Decision model => Select the Observation model
The business event and decision model for observations are configured. You can also configure other business events, to automate for example:
◦ the creation of follow-up actions based on topic scoring;
◦ the creation of follow-up actions based on answers given in an assessment.