Hello,
Problem:
i have an OU = 'X' that keeps all account that has been deprovision. I need to disable creation/updating in that OU = 'X' and allow only a specific custom command to be executed that restores the account. The custom command moves the object to the previous OU and thus can update/active the account.
Part of the solution was to create 2 business rule (before updating/create), that will cancel operation if creation/update is made within the business rule scope (the OU = 'X').
Note: moving object is still possible in the OU
Question:
Now i need to allow only 1 custom command to be executed in that OU. Is there a way for a business rule to know which Custom command i am executing? Or any other solution?
Thx