Flow not creating HR Task with the error: requested flow operation was prohibited by security rules

Lavanya11
Kilo Sage

In the Employee Service Center Portal, we have some flows which Trigger HR Services . It is creating the HR Case but not HR tasks and with the  following Error  "The requested flow operation was prohibited by security rules". This problem happens only for Certain HR services and for non-Admin Users. 

I referred this KB Artikel(KB0870023). Also I checked the ACL. Here the problem is only certain HR Services not working properly and also only for non-Admin Users. I checked the scope and record producer of the HR Service. Also OOB scripts "hr_Utils" & "hr_serviceUtils". Couldn't guess where exactly the problem is. Please provide some suggestions

1 ACCEPTED SOLUTION

Lavanya11
Kilo Sage

In the flow, I removed the HR Service and then added the same HR Service again. Then it started working. I don't know the exact reason. May be the release problem. 

View solution in original post

4 REPLIES 4

Sandeep Rajput
Tera Patron
Tera Patron

I already referred this both KB ARticle. I created the ACL for the sc_item_variables_task in both the Scope "Global" and "Human Resources:Core" with  roles : sn_hr_sp.hrsp_employee & catalog_admin.  Nothing is working.  The problem here is certain HR services working properly, only with some services I am having this issue.

Amit Gujarathi
Giga Sage
Giga Sage

Hi @Lavanya11 ,
I trust you are doing great.

To troubleshoot this issue, I would suggest the following steps:

  1. Check the specific HR Services that are causing the problem and identify the specific flows associated with them.
  2. Review the security rules associated with these flows and ensure that they are properly configured to allow non-admin users to trigger them.
  3. Review the ACLs associated with the HR Services, HR Tasks, and HR Case records to ensure that non-admin users have the appropriate level of access.
  4. Review the record producers associated with the HR Services and ensure that they are properly configured and accessible to non-admin users.
  5. Review the OOB scripts "hr_Utils" and "hr_serviceUtils" to see if they are being used in the flows causing the problem and ensure that they are properly configured.

Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi



Lavanya11
Kilo Sage

In the flow, I removed the HR Service and then added the same HR Service again. Then it started working. I don't know the exact reason. May be the release problem.