Event Change Approvers Or Observers For Workflow Not Binding At Status Promotion
(Doc ID 2830756.1)
Last updated on DECEMBER 31, 2021
Applies to:Oracle Agile Product Collaboration - Version 184.108.40.206 and later
Information in this document applies to any platform.
Event Change Approvers or Observers for Workflow not working at Status Promotion
When we structure privileges for Add/Remove Reviewers, the criteria condition is binding during status promotion as well as when the Add or Remove Reviewers buttons are selected.
However, when we structured a PX to disallow certain users from removing Component Engineer user group or users as Approvers, it does not appear to be binding during Status promotion [into CCB, for example].
We attempted to structure the PX to a Change Status -- but is not working.
Expect the Event Change Appovers or Observers for Workflow to disallow certain user from removing Component Engineer user group or users as Approvers & during status promotion: CCB.
The issue can be reproduced at will with the following steps:
1. Login to Java Client
2. Click on Admin Tab > System Settings > Event Management > Event Handlers
Restrict Reviewer Removal Handler Type: Script PX, Enabled Yes
//user groups that are exempt from verification
//approvers that cannot be removed if belong to these user groups
//Check current user's group membership
//Check each approver that is being removed is not a required group or a member of a required group
//is approver a user group?
( Script within the Change_Control_Disallow_removal_of_Component_Engineer_for_SR.docx
3. Create Event:Event Type: Change Approvers or Observers for Workflow
Name: Remove Approvers or Observers for Workflow
Action Remove Approver or Observer
4. Create Subscriber:
Remove Approvers of Observers from Workflow Restrict Reviewer Removal
Event: Remove Approvers or Observers for Workflow
Event Handler: Restrict Reviewer Removal
Handler Type: Script PX
Trigger Type: Pre
Execution Mode: Synchronous
Error Handling Rule: Stop
5. Login to WebClient as Test(testca)
6. Navigate to Test ECO-XXXXX
7. Click on Workflow Tab
8. Move the WF Status Pending-> Submitted -> CCB
9. Click on Remove Reviewers button | Remove: User CE, Test (testce) - Receive Message:
"(v1.0) Change Analyst, Test(testca) cannot remove approver, User CE, Test(testca) belonging to required group, Component Engineer
10. Click on Remove Reviewers button | Remove: Component Engineer - Receive Message:
"(v1.0) Change Analyst, Test(testca) cannot remove required group, Component Engineer
Reviewers: Component Engineer
User CE, Test(testca)
11. Move CCB back to Pending -> Submitted -> CCB
12. Change Status to CCB Window pops up:
Remove Individual CE Users: User CE, Test(testca), PXXX, JXXXX (jxxxx) ---> ALLOWED TO REMOVE!!! This is the problem. (Can Remove On Status Change)
Click Finish button
13. Move CCB back to Pending -> Submitted -> CCB
14. Change Status to CCB Window pops up:
Remove a CE Group: Component Engineer
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document