Public Events for Project Resource Request Status Changes
If you want Oracle PPM Cloud to signal whenever changes happen as below, then you must use the ERP Business Events REST Endpoints to enable the feature.
-
Project resource request statuses change
-
New request is created in Open and Pending Adjustment but not Draft status
-
Resource assignments are adjusted or canceled
Suppose a request changed from Open to Nominated for Assignment status, or a request changed from Nominated for Assignment to Fulfilled status, then the event sends you a signal.
Keep in mind that Oracle PPM Cloud doesn't signal if the request details are updated, for example, the requested quantity is updated, but the status isn't updated.
Integration developers and administrators can subscribe to public events from the Oracle Integration Cloud using the Oracle ERP Cloud Adapter. Then, they can use the information in the payload to configure event handlers that perform business operations. For example, if you want to advertise open project resource requests internally using a third party system so that the resources can contact the resource manager to fulfill the request, then:
-
Project application administrator enable this feature. Oracle PPM Cloud signals when an open resource request is created.
-
Integration developers create event handlers that subscribe to these signals and send an advertisement internally to the resources.
Attributes in the Payload for Resource Request Status Change Event
This table lists and describes the attributes in the payload.
Attribute |
Description |
---|---|
ResourceRequestId |
Identifier of the project resource request. |
ProjectId |
Identifier of the project associated with the resource request. |
StatusCode |
Code of the resource request status. |
PreviousStatusCode |
Code of the previous resource request status. |
LastUpdatedByUserName |
Name of the person who last updated the record. |
LastUpdatedDate |
Date when the record was last updated. |
Sample Payload for Project Resource Request Status Changes Event
Let's look at a sample payload that's generated when the status of a request changes from DRAFT to OPEN.
<content>
<ProjectResourceRequestStatusChangedInfo xmlns="http://vision/apps/projects/resourceManagement/request/model/entity/events/schema/ResourceRequestEO">
<ResourceRequestId>
<oldValue value="300100111675917"/>
<newValue value="300100111675917"/>
</ResourceRequestId>
<ProjectId>
<oldValue value="300100082280694"/>
<newValue value="300100082280694"/>
</ProjectId>
<StatusCode>
<oldValue value="DRAFT"/>
<newValue value="OPEN"/>
</StatusCode>
<PreviousStatusCode>
<oldValue value="DRAFT"/>
<newValue value="OPEN"/>
</PreviousStatusCode>
<LastUpdatedBy>
<oldValue value="Conor.Horton"/>
<newValue value="Conor.Horton"/>
</LastUpdatedBy>
</ProjectResourceRequestStatusChangedInfo>
</content>