There are scenarios where approvals are required for Profile Types added to the application by Employees.
'Approve Talent Profile Content' is the transaction given in cloud to configure the same, it can be accessed following below navigation -
(Landing Page) Tools -> Transaction Console -> Approval Rules (Tab)
There are two steps required to achieve the same -
Step 1 - Enable the checkbox Approval Required at Profile level. Below screen for reference and navigation to follow -
(Landing Page) My Client Group -> Profiles -> Profile Types -> Person -> Section Name -> Approval Required
Step 2 - Follow the first navigation to Approval Rule and configure approval hierarchy based on business need.
Below rule condition for reference -
(transactionApprovalRequest.attribute2 equalsIgnoreCase "PERSON_APPROVAL_REQD")
Challenge Faced:
Workflow was failing giving below error message -
According to BPEL4WS spec 1.1 section 14.3, the from node value should not be empty. Verify the from node value at line number 586 in the BPEL source.
Reason :
Profile Status Code for the assignment was in Inactive state.
Query to find the profile_status_code based on person number -
select profile_status_code from hrt_profiles_b where person_id = (select distinct person_id from per_all_people_f where person_number = '123')
Fix:
Status Code was made active utilizing below TalenProfile HDL component -
METADATA|TalentProfile|ProfileId|ProfileStatusCode
MERGE|TalentProfile|300000002390603|A
Comments