Launch Task to perform action/operation on target application system

Hello,

The requirement is:

Based on certain requirement condition filter (conditions can be complex to be scriptable), launch a task to perform action (disable/enable and remove groups) on a target application from ForgeRock IdentityCloud.

what is the way to achieve this? …any document how to configure this?

The requirement is:

Based on certain condition filters given if the conditions are satisfied, we need to perform either of the below actions:

  • Disable application account and remove existing access for the user
  • Enable application account
  • Delete application account after 30 days from disabling the user/termination date