Hello!
We have a business rule in place that will request approval from a group's owner before adding an account to that group for certain groups. We also have a custom command for creating new accounts that occaisionally involves adding the new account to these groups, which results in the approval request being sent to the owner. Later on in another custom command run on the new account, the account is moved to a new OU. This works as expected most of the time.
We're running into problems though when the approvers take too long to respond to the approval request and the second command is run before they respond, meaning the account is moved before it is added to the group. This results in an error when the operation is executed: [Error] The name reference is invalid.
Do you have any ideas for how to get around this error?