Attempting To Expire A User Role Assignment Using wf_local_synch.propagateuserrole Fails With ORA-20002: 4016: User/Role relationship for user XXXX and role XXXX already exists
Last updated on JUNE 27, 2016
Applies to:Oracle Workflow Cartridge - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.
On R12.1.3, when trying to expire a user role using the procedure wf_local_synch.propagateuserrole as follows:
p_user_name => 'HAYESW',
p_role_name => 'UMX|XXHR_MSS_PAY_CLAIMS',
p_start_date => to_date('23-SEP-2008','DD-MON-YYYY'),
p_expiration_date => to_date('23-SEP-2008','DD-MON-YYYY')
This displays the following error:
ORA-20002: 4016: User/Role relationship for user 'HAYESW' and role 'UMX|XXHR_MSS_PAY_CLAIMS'
ORA-06512: at "APPS.WF_DIRECTORY", line 2623
ORA-06512: at "APPS.WF_LOCAL_SYNCH", line 2082
ORA-06512: at line 2
Steps To Reproduce
1. Execute the API wf_local_synch.propagateuserrole to expire a role.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms