Steps To Prevent The 'CC Manager' Notification Being Sent To The Supervisor Of The Preparer when using AME for Expense Report Approvals
When we use AME for Expense Report approvals, When an authorized delegate submits an expense report for another employee, the 'AME Approval Process/CC Direct Manager' sends a FYI notification t to the supervisor of the preparer. This is a new feature introduced in R12.1.3 as part of RUP4.
This is a good feature from a manager perspective to track the activities performed by all the employees reporting to him. But some companies don't like this feature depends upon their business needs.
Here are the steps to follow to disable this extra notification -
Method1 :Download the workflow file and modify the WF attribues
2. Click on the Node Attributes and here we have an attribute named 'CC Direct Manager Notification'.
3. Update the value to No, save the workflow file to the database.
4. Bounce the workflow listeners as well as the mid-tier servers.
Method2: Using an UPDATE Statement from backend
use the below query to update the attribute value directly using UPDATE Script, without modifying and migrating the workflow file and Oracle supports the UPDATE of attributes from backend.
Query to find the Current Value of 'CC_DIRECT_MGR_NOTIFICATION' Attribute
SELECT aav.text_value
FROM apps.wf_activity_attr_ values aav
WHERE aav.NAME LIKE 'CC_ DIRECT_MGR_NOTIFICATION'
AND aav.process_ activity_id IN (SELECT pa.inst ance_id
FROM apps.wf_ process_activities pa
WHERE
pa.activity_ name = 'IS_MANAGER_IN_THE_ APPR_PROCESS'
AND pa.process_ item_type = 'APEXP'
AND process_ version >= (SELECT Max( process_version)
FROM apps.wf_ process_activities pa
WHERE
pa.activity _name = 'IS_MANAGER_IN_THE_ APPR_PROCESS'))
FROM apps.wf_activity_attr_
WHERE aav.NAME LIKE 'CC_
AND aav.process_
pa.activity_
AND pa.process_
AND process_
pa.activity
Note: Here I added a condition to update the node for the latest process version as there are 4 versions of this process stored in my case. If you are not sure about the process versions, we can update for all 4 versions.
Query to UPDATE the Value of 'CC_DIRECT_MGR_NOTIFICATION' Attribute
UPDATE apps.wf_activity_attr_ values aav
SET aav.text_value = 'N'
WHERE aav.NAME LIKE 'CC_ DIRECT_MGR_NOTIFICATION'
AND aav.process_ activity_id IN (SELECT pa.inst ance_id
FROM apps.wf_ process_activities pa
WHERE
pa.activity_ name = 'IS_MANAGER_IN_THE_ APPR_PROCESS'
AND pa.process_ item_type = 'APEXP'
AND process_ version >= (SELECT Max( process_version)
FROM apps.wf_ process_activities pa
WHERE
pa.activity _name = 'IS_MANAGER_IN_THE_ APPR_PROCESS'))
SET aav.text_value = 'N'
WHERE aav.NAME LIKE 'CC_
AND aav.process_
pa.activity_
AND pa.process_
AND process_
pa.activity
Comments
Post a Comment