Downstream Message Push for REST
PushNotifications attached business rule can be configured to send downstream messages as the activity processing is completed and before committing the persisted data to DB.
The PushNotifications ABR allows the user to define multiple messages to be sent downstream based on the activity status and validation of conditions. User can define messages to be send on successful processing of an activity. User can also define messages to be send on activity processing failure (OnTransactionFailure). The rule can be configured to create a business error on an activity or to roll back activity in case of message push failure or to continue processing an activity. PushNotifications uses custom-built expressions to construct the required messages. Message templates can be created using custom configuration.
OIPA can send messages to downstream using SOAP, JMS or REST protocols. Downstream system should use REST APIs provided to post or update their application and authentication details required for the protocol of their choice. For information on JMS and SOAP Web Services refer to the user guides: JMS, SOAP.
EVENTS
- A user can configure messages for multiple events and map each event that has one or more messages to a downstream application. When multiple messages are defined for an event, the system validates the conditions specified and sends an appropriate message downstream.
- When an event is triggered in Push Notifications, OIPA will look into the database for Downstream application details and security details. PushNotifications will retrieve downstream and security details from AsOutboudApplications and AsOutboundSecurtiy tables.