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 :
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 30

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!

I have the same question (0)
  • @rp@n Profile Picture
    30 on at

    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!

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    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
    30 on at

    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
    ergun sahin Profile Picture
    8,826 Moderator on at
  • @rp@n Profile Picture
    30 on at

    Hi sahin,

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

  • Suggested answer
    Michal Krejza Profile Picture
    on at

    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 ?

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans