Professional Documents
Culture Documents
Steps To Customize The EmploymentUpdateProcessesPostApproval
Steps To Customize The EmploymentUpdateProcessesPostApproval
2) Navigate to Shared Folders -> Custom -> Human Capital Management -> Workflow Notifications. Click
on the + icon on the top left and create a new folder if there is already no folder with the name “Data
Models” under Workflow Notifications.
3) Navigate to Shared Folders -> Human Capital Management -> Workflow Notifications -> Data Models
folder. Find EmploymentUpdateProcessesPostApproval data model, click on More menu and copy it.
4) Go back to Shared Folders -> Custom -> Human Capital Management -> Workflow Notifications ->
Data Models folder and paste it.
5) After pasting, edit the custom data model
7) Find CurrentManagers in the same way and replace its query as follows
SELECT person.display_name as "ManagerName",(select lookup.meaning from
HCM_LOOKUPS lookup
where lookup.LOOKUP_TYPE='PER_SUPERVISOR_TYPE' AND
lookup.LOOKUP_CODE=per_bipntf_flex.GETATTRIBUTE('AssignmentSupervisorMDVORow',
value(RowType),'ManagerType','OldId'))
as "ManagerType",extractValue(value(RowType),
'//AssignmentSupervisorMDVORow/@operationType') as "OperateMode"
FROM per_person_names_f person,TABLE
(per_bipntf_utility.extractXMLSequenceForVO(:transId,'AssignmentSupervisorMDVO
')) RowType
where
person.person_id=per_bipntf_flex.GETATTRIBUTE('AssignmentSupervisorMDVORow',va
lue(RowType),'ManagerId','OldValue')
and person.name_type='GLOBAL' AND
TO_DATE(per_bipntf_utility.getAttributeFromTXNContext(:transId,'hcmEffectiveDa
te'),'rrrr-mm-dd') BETWEEN person.EFFECTIVE_START_DATE AND
person.EFFECTIVE_END_DATE
and extractValue(value(RowType),
'//AssignmentSupervisorMDVORow/@operationType') !='default'
8) Find EligibleJobsProposed dataset in the same way and replace its query as follows
select "NAME" ,
"JobCode" ,
"FromDate" ,
"ToDate" ,
"ReliefType" ,
"Frequency" ,
"Currency" ,
"ManualRate" ,
"OperateMode"
from(
SELECT
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Jo
bNameReadOnly','NewValue') as "NAME",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Jo
bCode','NewValue') as "JobCode",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Fr
omDate','NewValue') as "FromDate",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'To
Date','NewValue') as "ToDate",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Re
liefType','NewValue') as "ReliefType",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Fr
equency','NewValue') as "Frequency",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Cu
rrency','NewValue') as "Currency",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Ra
te','NewValue') as "ManualRate",
extractValue(value(RowType), '//AssignmentEligibleJobsMVORow/@operationType')
as "OperateMode"
FROM TABLE
(per_bipntf_utility.extractXMLSequenceForVO(:transId,'AssignmentEligibleJobsMV
O')) RowType) currentjobs
where "OperateMode" !='delete'
9) Find EligibleJobsCurrent dataset in the same way and replace its query as follows
select "NAME" ,
"JobCode" ,
"FromDate" ,
"ToDate" ,
"ReliefType" ,
"Frequency" ,
"Currency" ,
"ManualRate" ,
"OperateMode"
from(
SELECT
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Jo
bNameReadOnly','OldValue') as "NAME",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Jo
bCode','OldValue') as "JobCode",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Fr
omDate','OldValue') as "FromDate",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'To
Date','OldValue') as "ToDate",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Re
liefType','OldValue') as "ReliefType",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Fr
equency','OldValue') as "Frequency",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Cu
rrency','OldValue') as "Currency",
per_bipntf_flex.GETATTRIBUTE('AssignmentEligibleJobsMVORow',value(RowType),'Ra
te','OldValue') as "ManualRate",
extractValue(value(RowType), '//AssignmentEligibleJobsMVORow/@operationType')
as "OperateMode"
FROM TABLE
(per_bipntf_utility.extractXMLSequenceForVO(:transId,'AssignmentEligibleJobsMV
O')) RowType) currentjobs
where "OperateMode" !='create'
11) For the custom data model to take effect, Set profile BIP_CLIENT_REFRESH_TIME_HCM to 15
(minute) at the Site level (If this profile is not available, create it from Manage Profile Option UI)
12) Wait for 15+ minutes -> logout/login -> Open Notification from the Bell Icon or BPM worklist