How to execute an action when a approval workflow has been rejected.

Hi all,

I need to execute an action when a group approval workflow has been rejected. How can this be done? I noticed that the workflow gets terminate by the approval rule activity when the approval is rejected. 

Thanks, Andy

Parents
  • Hi Andy

    As Richard says, there is no method currently to continue a workflow after an approval step has been rejected.

    However, depending on your use case, you might be able to do something via a separate automation workflow.

    This workflow would have a script activity step to find all rejected (Denied) group membership operations with in some time frame. This would not be as easy as just a continuation of the original workflow, and also would be heavily dependant on what you need to do after the rejection.

    The ARS powershell module has a commandlet Get-QARSOperation, this can be used to give you a list of operations (OperationType) that have occurred (created, updated, copy, group membership changes etc), but also the status (OperationStatus) of the request (Pending, Completed, Denied, Canceled etc). However the data you might need for your use case might be discarded after the request was rejected.

    Hope this helps

    Stu

Reply
  • Hi Andy

    As Richard says, there is no method currently to continue a workflow after an approval step has been rejected.

    However, depending on your use case, you might be able to do something via a separate automation workflow.

    This workflow would have a script activity step to find all rejected (Denied) group membership operations with in some time frame. This would not be as easy as just a continuation of the original workflow, and also would be heavily dependant on what you need to do after the rejection.

    The ARS powershell module has a commandlet Get-QARSOperation, this can be used to give you a list of operations (OperationType) that have occurred (created, updated, copy, group membership changes etc), but also the status (OperationStatus) of the request (Pending, Completed, Denied, Canceled etc). However the data you might need for your use case might be discarded after the request was rejected.

    Hope this helps

    Stu

Children
No Data