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!
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!
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 ?
Hi sahin,
Instead of curUserId , from where will get the WF batch user id ? that i am looking for
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
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
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!
André Arnaud de Cal... 291,735 Super User 2024 Season 2
Martin Dráb 230,466 Most Valuable Professional
nmaenpaa 101,156