This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Stop/Break Workflow Activity

Hi 

 

I am trying to implement a workflow such that it will stop an attribute from being modified based on the results of a search criteria.

So "If result=x continue workflow";"If result=y stop workflow"

 

The logic I have created to stop the workflow works but the originating action is still pending, which has the effect of "hanging" the target account - anything you try to do to the account fails with the Stop/Break error message.

 

Is there a way of cancelling the original request in a similar way to a "reject" Approval activity would.

 

Thanks

Parents
  • I am not sure if the below would help, because in the scenario there isn't a Approval task created for when the admin account exists?

    Get-QARSOperation -TargetObject 'domainName\userName' -OperationID 123-123 -OperationStatus Pending | %{Get-QARSApprovalTask -Operation $_ -ApproverIsMe} | Reject-QARSApprovalTask
Reply
  • I am not sure if the below would help, because in the scenario there isn't a Approval task created for when the admin account exists?

    Get-QARSOperation -TargetObject 'domainName\userName' -OperationID 123-123 -OperationStatus Pending | %{Get-QARSApprovalTask -Operation $_ -ApproverIsMe} | Reject-QARSApprovalTask
Children
No Data