Configuring business events for topic scoring
If you want to automate the creation of a follow-up action based on a topic score, you must configure a decision model and business event for the Topic scores business object.
Procedure
1. In Field definer , select the Business events business object and create a user-defined business object: Scoring event.
2. In the Attributes TSI, create an attribute set: Scoring 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
◦ SpaceCode - single line
◦ ScoreDateTime - date time
SelectAnswer - single line
◦ TCEffectCode - single line
◦ TCExtentCode - single line
◦ TCExtentPercentage - decimal
◦ TCSeverityCode - single line
◦ TopicCode - single line
◦ TopicLevelCode - single line
◦ TopicScore - integer
◦ TopicSeverityCode - single line
◦ TopicLikelihoodCode - 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: Scoring model.
5. Define decision rules for this model.
| In case no decision rule applies, add an Ignore rule, and provide it with a high sequence number, for example 999. Set the Triggering status of the Ignore rule to Reported, the Resulting status to Rejected and do not specify a condition or an action worker. |
6. In Field definer , configure the relevant business object settings on the Topic scores business object.
Business object definition => Select user-defined business object Scoring event.
Attribute definition set => Select attribute set Scoring event
Decision model => Select the Scoring model
The business event for topic scoring is configured.