Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

How to stop the workflow after rejection

Posted on by 80

Hi experts,

I'm facing one issue in workflow.

I don't want to create a new work item after rejected.

In purchase order approval workflow, I'm using 2 steps for approval.

I want to end the workflow once it's rejected by the first user.

But currently it's going for resubmittion after rejection.

Can you please give me a solution for this??

Than you.

  • Suggested answer
    Deepak Agarwal Profile Picture
    Deepak Agarwal 148 on at
    RE: How to stop the workflow after rejection

    You need to check the code, what's the condition for resubmission. Try to modify that condition using extensions.

    When a workflow is ready for resubmitting, it checks the condition on status, if that meets the resubmit button enables. If you bypass that condition in code, it will restrict the user to resubmit the same.

  • Vidhushan S Profile Picture
    Vidhushan S 80 on at
    RE: How to stop the workflow after rejection

    Hi Calavan,

    Currently 

    Start ->  approval step 1 -> conditional decision (where approval status is approved) if approved go to step 2, else end

    -> step 2 ( approval step 2) - > end

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: How to stop the workflow after rejection

    Hi Vidhushan,

    Can you share the details how you did the current setup with the two steps?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans