The GovernanceEventMessage is used in a GovernanceWorkflow when you want to do some action based on a GovernanceEvent.
Short description: Here you give a short description of the GovernanceEventMessage. This should be able to give the user an overview.
Condition: Should some condition (GovernanceBoolMethod/List) be true before the feature can be used/is visible.
Event types: Choose from a list of ‘events’ that decide when to run the action.
Rule to define Duration: An object is moved from GovernanceState to GovernanceState using different kinds of transitions, e.g. a GovernanceConditionalMessage. When a transition moves an object in to a GovernanceState the object will get a date set that is the limit for how long the object is allowed to be in the GovernanceState. The limit is calculated based on what the duration is set to in the transition leading in to the GovernanceState.
The date limit can be used to handle SLAs on objects. E.g. an email can be send out to the responsible of the object when the SLA is approaching or is already passed.
- Number of days:
- Set a specific number of days for the duration. This will be used for all objects handled by this transition.
- Use the following Attribute
- Use an attribute on the object to set a specific number of days for the duration. Use this to have different durations for different objects.
- The attribute on the object will have to contain a number that can be translated into an integer.
- Use a date attribute
- Use a date attribute on the object to set a specific date for when the object should no longer be in the next GovernanceState. Use this to have different dates defined for different objects.
- The date attribute will have to be in a date format.
The number of days defined in this field decides the number of days you have to finish the next state. If you have an SLA it will influence the days to finish like this:
- If your days from “Beginning In State” is 5 (this is set on the GovernanceWorkFlow’s attribute “Initial State Duration”), and if your SLA is a positive number 2. Then you will have 7 (5+2) days to finish the transition to next state, and the governance task will be green the first 5 days, then yellow for the next 2 days and then red until handled.
- If your days from “Beginning In State” is 5 and if your SLA is a negative number -2. Then you will have 5 days to finish the transition to next state, and the governance task will be green for 3 days, yellow for 2 days and then red until handled.
Actions: What should the event do; here you insert a NotificationTemplate, GovernanceActionList or GovernanceActionMethod.
Asynchronously: If checked, the action(s) will run asynchronously.