Onboarding tasks- comments on task level roll up to parent.

niveditakumari
Mega Sage

Hi, 

 


Onboarding tasks- comments on task level roll up to parent.

As an HR Agent, if an employee or manager submits a comment on an Onboarding task, I can see all of the comments on the HR Case. 

When employee or manager submits comment on Onboarding task then I should see all comments on HR case. 

Can anyone please help me to achieve it. 

 

Regards, 

Nivedita

 

 

1 ACCEPTED SOLUTION

@niveditakumari Deactivate your business rule in HR Core scope and create a copy of the same Business rule in Human Resources Lifecycle Events scope along with the same script. Ideally, this will address your scope error issue as the worknotes would be added into the LE scope only. 

View solution in original post

14 REPLIES 14

@niveditakumari This is going to be slightly complicated if you are not aware of the Application cross-scope restricted caller access.

 

As a first step you need to navigate to Application restricted caller access module

Screenshot 2023-04-22 at 4.30.37 PM.png

You will be taken to the following list.

Screenshot 2023-04-22 at 3.59.00 PM.png

 

Here you need to set the status of all those records which are in Requested or Invalidated state. You might need to switch to different scopes to set status to allowed as these records reside into different scopes.

 

Once allowed test the HR Task comment functionality again and if the error still persists, you need to create a restricted caller access record in the Application restricted caller access as follows.

 

Make sure to select the scope as Human Resources Lifecycle events before creating this record.

Screenshot 2023-04-22 at 4.18.01 PM.png

When you select the Target Lookup following pop-up would appear.

Screenshot 2023-04-22 at 4.28.04 PM.png

Select HR Lifecycle Events from the table list, do not select anything inside the document field.

 

Save this record and test again. Hopefully the error will not appear again and the BR will copy the additional comments from HR Task to HR LE case.

 

Hi @Sandeep Rajput

 

I know Application cross scope restricted caller access is use to access one scope to another scope. 

Can you please tell more about Application cross scope restricted caller access with above example. 

When we create Application cross scope access for above requirement.

Can you please make me understand for below screenshot why you have selected it. 

niveditakumari_0-1682536770651.png

 

 

Regards, 

Nivedita

 

 

@niveditakumari Human Resources core and Human Resources Lifecycle events are two different applications operating in different scopes. In order to access data of Human Resources Lifecycle event from Human Resources Core application, we need to define a Restricted caller application record in target application scope (which is Human Resources Lifecycle Application in this case).

Hi @Sandeep Rajput

 

I have tried this approach and I have created business rule and Application restricted caller access but it seems it is not working. 

 

niveditakumari_0-1683040029896.png

 

niveditakumari_1-1683040148265.png

niveditakumari_2-1683040316372.png

 

Can you please check it and correct it. I have to complete it soon. 

 

Regards, 

Nivedita

 

 

Hi @Sandeep Rajput

 

I'm getting it this below error. 

 

niveditakumari_0-1683040555398.png

 

Can you please help me to correct it. 

 

Regards, 

Nivedita