Cross scope issue related to Transferring case from HR core Case ER

Radhika1
Tera Contributor

Hi,

I am trying to transfer a HR case (HR core case) to Employee RElations (ER). I get the below error message even though the case gets transferred. I created restricted caller access to allow read/write /create acceess on ER. It did not work

Radhika1_0-1724833060596.png

 

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@Radhika1 Please look for the script include/business rule which is using setWorkflow. It looks like setWorkflow is being called from HR Core scope for the table which belongs in Employee relations scope.

View solution in original post

4 REPLIES 4

Sandeep Rajput
Tera Patron
Tera Patron

@Radhika1 Please look for the script include/business rule which is using setWorkflow. It looks like setWorkflow is being called from HR Core scope for the table which belongs in Employee relations scope.

@Sandeep Rajput setWorkFlow is being used in OOTB 'ReclassifyCaseTransfer' script include. As not recommended, I do not want to modify that. Do you see any other possibility?

@Radhika1 Please check if there are any existing invalidated Restricted Caller Access records originating from the ER scope. Please set them to allowed and check if this action fixes the issue. If not then raise a case with ServiceNow support as this API call was made from their OOTB script include and they should have a workaround to address it.

Yes , I have already validated all restricted caller access privileges. The issue is resolved when I removed setWorkflow(false) from a custom BR used for achieving another functionality. Thank you.