Public Event for Project Gate Approver Status Changes

If you want Oracle Project Portfolio Management Cloud to signal whenever the approval status for a gate is changed by an approver such as when a gate is approved or rejected by an approver, then you must use the ERP Business Events REST Endpoints to enable the feature.

For example, to send a notification in Oracle Integration Cloud whenever the approval status for a gate is changed by an approver, then:

  1. You, as a project application administrator, must enable this feature.

  2. Integration developers must create event handlers that subscribe to these signals and send an email notification whenever the project gate is approved.

Attributes in the Payload for Project Gate Approver Status Change Event

This table lists and describes the attributes in the payload.

Attribute

Description

ApprovalId

Unique identifier of the Gate Approver.

GateElementId

Unique identifier of the gate.

ProjectId

Identifier of the project associated with the task.

ApprovalStatus

Status set for a gate by the approver. Valid values are NULL, APPROVED or REJECTED.

LastUpdatedBy

The name of the user who updated the gate approval status.

LastUpdateDate

Date when the approval status was last changed.

DecisionComments

Comments by the approver.

Sample Payload for Project Gate Approver Status Change Event

Let's look at a sample payload that's generated when the status of a gate approver changes.

<process xmlns="http://xmlns.vision.com/PublicEventHandler/Invoker">
  <ns0:ProjectGateApproverStatusChangedInfo xmlns="http://oracle/apps/projects/resourceManagement/request/model/entity/events/schema/ResourceRequestEO">
     <subscriberId>abcs1245H</subscriberId>
     <ns0:ProjectGateApproverStatusChangedInfo xmlns:ns0="http://xmlns.oracle.com/apps/projects/projectManagement/common/publicModel/entity/events/schema/PjtGateApproversEO">

<ns0:ApprovalId>
         <ns0:newValue value="300100543759877"/>
         <ns0:oldValue value="300100543759877"/>
     </ns0:ApprovalId>
     <ns0:GateElementId>
       	<ns0:newValue value="300100543759876"/>
         <ns0:oldValue value="300100543759876"/>
     </ns0:GateElementId>
     <ns0:ProjectId>
        	<ns0:newValue value="300100543713894"/>
         <ns0:oldValue value="300100543713894"/>
     </ns0:ProjectId>
     <ns0:ApprovalStatus>
       	<ns0:newValue value="APPROVED"/>
         <ns0:oldValue value=""/>
     </ns0:ApprovalStatus>
		<ns0:LastUpdatedBy>
			<ns0:newValue value="Connor Horton"/>
			<ns0:oldValue value="Connor.Horton"/>
		</ns0:LastUpdatedBy>
		<ns0:LastUpdateDate/>
			<ns0:newValue value="2021-08-18T08:28:04"/>
			<ns0:oldValue value="2021-08-18T08:26:56"/>
		<ns0:LastUpdateDate/>
		<ns0:DecisionComments>
			<ns0:newValue value="Approving the GateTask"/>
			<ns0:oldValue value=" "/>
		</ns0:DecisionComments>
   </ns0:ProjectGateApproverStatusChangedInfo>
</process>