Skip to main content

Notifications

Announcements

No record found.

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

any AX user can submit the workflow? Or we need any specific setup for user to submit the workflow?

(0) ShareShare
ReportReport
Posted on by

Hi All,

Can you please let me know, any AX user can submit the workflow? Or we need any specific setup for user to submit the workflow?

For example - Purchase order workflow

Please give me more shed on this.

thanks!

  • Suggested answer
    RE: any AX user can submit the workflow? Or we need any specific setup for user to submit the workflow?

    Hi @rp@n,

    I am not sure about your question. In the original post you are asking about users submitting Purchase order into workflow. This is usually managed through security roles for each module.  E.g. Employee role has access to Expense management and therefore can submit Expense report to workflow. Similar is Purchasing agent role - it has access to Purchase orders in AP module and therefore can submit Purchase orders into workflow. Of cause it is necessary at first create workflow and activate change management for PO.

    I am not sure about your second question on this thread. Please clarify what do you want to achieve ?

  • @rp@n Profile Picture
    @rp@n on at
    RE: any AX user can submit the workflow? Or we need any specific setup for user to submit the workflow?

    Hi sahin,

    Instead of curUserId , from where will get the WF batch user id ? that i am looking for

  • Suggested answer
    ergun sahin Profile Picture
    ergun sahin 8,812 Super User 2024 Season 1 on at
    RE: any AX user can submit the workflow? Or we need any specific setup for user to submit the workflow?

    community.dynamics.com/.../which-ax-database-table-has-workflow-assign-to-user-info

  • @rp@n Profile Picture
    @rp@n on at
    RE: any AX user can submit the workflow? Or we need any specific setup for user to submit the workflow?

    Hi Ludwig,

    This is business requirement. Kindly let me know how I will get WF batch user? So, that i can mention instead of curuserId()

    please give me more shed on this

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: any AX user can submit the workflow? Or we need any specific setup for user to submit the workflow?

    Hi @rp@n,

    Why do you want to restrict people from submitting a transaction into the workflow?

    As long as you have approvers setup that check things, submitting things should not be a problem, should they?

    Best regards,

    Ludwig

  • @rp@n Profile Picture
    @rp@n on at
    RE: any AX user can submit the workflow? Or we need any specific setup for user to submit the workflow?

    Workflow::activateFromWorkflowType(workFlowTypeStr(PurchTableTemplate),
                                                _purchTable.RecId,
                                                "Auto submit to workflow",
                                                false,
                                                curUserid());

    Instead of curUserId , how I will get WF batch user id?

    Please give me more shed on this.

    thanks!

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans