DELETE|AllocateChecklist|Data Handler Acknowledgement|ONBOARD|1|10001
DELETE|AllocateChecklist|Data Handler Acknowledgement|ONBOARD|1|10002
Create a resource alert from Tools - Alerts Composer
Resource - workers
Add Filter
Resource - workers
Expression -
exists ( Select 'x' from per_all_people_f p where p.person_id =${PersonId} and p.person_number in ('1001','1002','1003'))
Add Template
Give the below in Communication Method as Mail, Expression as ${AlertUtils.toString(AlertUtils.empManagerList(workers.PersonId).WorkEmail)}
Group by - ${AlertUtils.toString(AlertUtils.empManagerList(workers.PersonId).WorkEmail)}
Click Apply
Click Save and Close
Now run and test the alert.
Invoke POST method to allocate checklist : hcmRestApi/resources/11.13.18.05/allocatedChecklists/action/allocateChecklist
Use Header Key Content-type = application/vnd.oracle.adf.action+json
If worklist is selected - both to email and notification in application are sent
in case of mail is selected - only email is sent, irrespective of setup in BPM to send to none/All/email/in-app. Note that the expression should be different from ${RecipientUserName} and should pull the work/home email