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
  • Hi RoastEM , what condition you are putting in search?
    i have tested in my lab and it works fine. below is the scenario which i have configured and tested, please correct if anything missed;

    1. workflow trigger condition on create user
    2. search activity to find the attribute which is unique for service account(in my case description) - description equals workflow target description
    3. if and else branch 1 - if description of found object equals description of workflow target then activity-send notification and stop/break.
    4. if and else branch 2 - if description of found object dose not equals description of workflow target (do not put any activity here)
    5. outside search activity run approval activity.

     

Reply
  • Hi RoastEM , what condition you are putting in search?
    i have tested in my lab and it works fine. below is the scenario which i have configured and tested, please correct if anything missed;

    1. workflow trigger condition on create user
    2. search activity to find the attribute which is unique for service account(in my case description) - description equals workflow target description
    3. if and else branch 1 - if description of found object equals description of workflow target then activity-send notification and stop/break.
    4. if and else branch 2 - if description of found object dose not equals description of workflow target (do not put any activity here)
    5. outside search activity run approval activity.

     

Children
No Data