web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Start again workflow in the same flow

(0) ShareShare
ReportReport
Posted on by 1,875

I have this workflow:

1057.1.png

It's a simply workflow with three approver, I want that when third approve reject workflows and other approver resumit this flow it start again with approve one.

At this moments if approver 3 reject workflow it send to second approve and when second resumit, it sended to third but I want if somebody resubmit the workflow starts again.

Now I cancel workflow and start again but It create a new workflow and I want to continue with the same.

WorkflowCancelManager::cancelWorkflows(WorkflowCancelManager::getWorkflowsToCancel(_args.caller()), initialNote);

workflowCorrelationId = Workflow::activateFromWorkflowType(workflowTypeName, recId, initialNote, NoYes::No);

is there any way for when a resubmit the workflow start with the same flow?

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Javier have you tried setting up steps in the approval node? Rather than having 3 individual nodes if you level down you should be able to add a new step by dragging in 'new step'Doing it this way will allow a rejected cost to go back to the start of the approval process. 

    0333.Capture5.PNG

  • Suggested answer
    Kris Victoriano Profile Picture
    100 on at

    You can set conditions inside the approval element of the workflow, also, you can add a conditional element where you can set what the workflow will take as the next step when a condition is met or not. For example, if rejected, it will go back to approver one.

    I suggest using the condition element.

  • Nikhil Walkhade Profile Picture
    50 on at

    Hi Kris,

    Can you provide the exact place to write code to go back to the 1st approval after rejection?

  • Crispin John Augustine Profile Picture
    37,081 on at

    You don't Need Code. If you add a conditional block (condition based on the approval's result) you can draw links to different steps.  technet.microsoft.com/.../jj618308.aspx

  • JJgath Profile Picture
    15 on at

    Sorry I cant find any condition based on the approval result. Could someone post the exact condition name?

    I have the same problem. When the third or second line Manager decline, the worker has to resubmit it and the wf should start from new and go to the first line manager and not to the one which decline.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans