An event-based synchronization is a synchronization job that is automatically executed in Primavera Gateway based on the occurrence of a specific event or change in a provider application.
To run an event-based synchronization, a provider application must be associated with an event provider.
Event Providers
An event provider uses event listeners to monitor for the occurrence of specific events in a source provider and activates the synchronization job corresponding to the specific event in the Gateway user interface.
For the P6 provider, Gateway delivers a P6 event provider with two types of event listeners:
- P6CreateEventListener: To listen for business objects created in P6.
- P6UpdateEventListener: To listen for business objects updated in P6.
Notes:
- Each application provider instance can be associated with only one event provider.
- Each event provider can be associated with any number of event listeners. The number of event listeners available depends on the event listeners coded for the event provider of the source provider application. The P6 Event Provider is delivered in Primavera Gatewaywith two event listeners, P6UpdateEventListener and P6CreateEventListener.
Event Listeners
An event listener listens for the occurrence of specific type of events in a source provider application such as the P6 provider, or the Unifier provider. When an event occurs in the source provider,a corresponding synchronization job is triggered in Gateway.
The type of events to listen for must be determined and designed specifically for each source provider application. Only users with a Gateway Developer role can code and create event listeners for a provider application.
Users with a Gateway developer role can create additional event listeners for a provider application. For more details, see the Provider Development Guide. Users with a Gateway user role can only synchronize and monitor event-based synchronizations.
Step me through...
Transferring Data Using the P6 Event Listener: Example
Transferring Data Using the Sample Event Listener: Example
Learn more about...
Setting Up Event-Based Synchronizations
Adding an Application Deployment Connection