Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

Struggling with State Machine - Dynamic Approval Workflow

Posted on by 867

Hello,

I have a dynamic approval workflow that triggers when a new request is created.

The dynamic approval data are defined in a table, and below is an example:
SampleApprovalsData.png

 

As you see, each approval level is a record that includes the approval email and the other details.

What I want to achieve for the dynamic approval workflow is the below:

  1. Whenever any approval request is rejected, the flow should send an approval to the requester where he can decide to either (Resubmitted for review, or Stop the flow).
  2. If the requester resubmitted for review it should get back to the previous approval level.

I already watched this amazing video State Machine Workflow - Power Automate  and he covered the main concept for state machine workflow - static approvals. As he already knows how many approval levels in the flow he has. However, my requirement is different as I don't know how many approval levels I might have based on request type + on any rejection it should get back to the requester to take a decision to avoid creating a new request.

Below is a screenshot of how I started designing the flow:

Dynamic-Approval-First-Photo.pngDynamic-Approval-second-photo.png

Could you please advise what will be the solution to cover the above requirements for dynamic approval levels workflow?

Any help is highly appreciated.

Best regards,
EBMRay

  • Nya Profile Picture
    Nya 29,054 on at
    RE: Struggling with State Machine - Dynamic Approval Workflow

    Hi EBMRay,

    May I know if what you want is just a whole designed flow or you have encountered a specific problem in the design process?

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans