Negative event modes in Pattern components
By default, a Pattern fires a positive event when its criteria are met, but it does not fire a negative event when the aging out of an event creates a negative condition. However, you can configure the behavior to include negative events.
When you enable negative events, the component alternates between firing positive and negative events, starting with a positive event.
You can select the mode for negative events: Immediate or Delay.
- In Immediate mode, the actions are as follows.
- When the Pattern component fires a positive event, it retains the events that fulfilled its criteria in the customer's state history. They continue to be used in evaluating the collection of events against the pattern criteria.
- The component fires a negative event as soon as the pattern is no longer fulfilled by collection of events being held for the customer in state history.
- The component continues to listen for incoming events and fires a positive event when the pattern is again fulfilled.
- In Delay mode, the actions are as follows.
- When the Pattern component fires a positive event, it drops the events that fulfilled its criteria from the customer's state history.
- The delay period, which is specified in the duration field, begins immediately. During the delay period, the component ignores incoming events.
- At the end of the delay period, the component fires a negative event.
When you run a workspace that includes a Pattern component configured to use the negative event mode, on the Batch Run tab of the workspace, you must set the Inactivity Mode and Inactivity Date fields.
- Inactivity Mode
- Set this value to On for workspaces with Forward Inactivity components.
- Inactivity Date
- Set this to a value greater than the latest transaction date in the last transaction file being processed.