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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Workflow Configuration with conditions

(0) ShareShare
ReportReport
Posted on by 810

Hi Friends,

i have to configure workflow for Purchase and purchase requisition, for one of my client. they having 2500 retail outlets. Now they are going live only with 25 shops i have to configure workflow on the basis of Site id For Ex:- if order created by A, B, C , D then approval goes to XYZ and if  order created by D, E, F, G then approval goes to some other user, like this way i have to configure for all 2500 sites which is too complicated. so is there any other way to configure this flow. or we can group sites.

Thanks

Atul

For Ref

*This post is locked for comments

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    I can see two ways to do this configuration

    1. By Standard AX

      As you specified above you have to use Conditions and you have to hard-code e.g. if submitted by this >> go to this…

    2. By customization

      This way you need to create a custom participant provider and it can pick up decision based on some setup. E.g. you can create a customized setup/form as following

       

    Submitted By

    Approver

    User123

    UserAbc, UserXYZ

    User428

    UserHKJ

     

    Having such setup can be beneficial as users can change configuration any time, they can add new user and remove users without modifying workflow configuration.

    To use/read this setup by workflow you need to create custom participant provider by customization. If you got development skills you can think about #2.

     

  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    I have modified heading of your thread from "AX Workflow" to currently what you can see above. This is due to fact that generic headings are hard to identify while searching again.

  • Atul Dogra Profile Picture
    810 on at

    Thanks Sohaib

    It's butter to go with customization,we have to create Workflow Matrix.

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    As Sohaib suggested, your best bet is to create a custom workflow hierarchy provider class. That can check the source information, and who is the initiator, and make a decision based on those that who is the next approver in the decision chain.

    Here are some details about the various providers, you can implement your own WorkflowHierarchyProvider

    msdn.microsoft.com/.../hh528513.aspx

    Also check the next entry on the MSDN site that shows how to create it.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans