Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Unable to Remove Users from Group While Implementing Scheduled Cleanup Process

n-ssurabhi
Tera Contributor

Requirement

  • Every month run a flow to check which group members from "Finance group" do not have an approval on the last 6 months;
  • Users shall be removed from the group "Finance group" if the user has not been selected has an approver for the last 6 months;
  • When users are removed, a notification with the removed users should be sent to email

Current Status

I have designed and implemented the flow, and I am successfully able to:

  • Retrieve the group members.
  • Identify users who have not acted as approvers in the last 6 months.
  • Prepare the list of users to be removed.
  • However, I am encountering an error during the step where the users are removed from the group. The flow fails at the record deletion/removal stage.

    Used flow properties as run as "system user".

    Any guidance or suggestions would be greatly appreciated.

     

12 REPLIES 12

Thank you for your support!!

Issue has been resolved now.

image (8).pngimage (7).png

AdheenA
Kilo Contributor

I’d first check the permissions of the account running the flow and make sure the correct user/group ID is being passed to the removal step. Also, try removing one user manually through the same action and check the exact error. That should help identify where the issue is.