Microsoft Dynamics AX Blog
When you install Dynamics AX Workflow, you might install it on a different machine that the AOS, like a web server for example. In this case, you have to install the following on the workflow server to get your workflow works:
- IIS
- .NET Business Connector
- Create a new website on IIS (do not use the same of WSS or EP websites, it is recommended not to use an existing website even)
- Workflow
Before going into step number “4”, you have to configure the “System service accounts” in: Dynamics AX –> Administration –> Setup –> Secuity. Fill these fields like the following:
- Busienss Connector Proxy: create a domain account and assign it here, this user doesn’t have to be a Dynamics AX user.
- Workflow System Account: Select a user like the Administrator from the drop down list
- Workflow Execution Account: like the previous step
Now you should be able to go through the step “4”, and install the Workflow component.
After installation, go to Dynamics AX –> Administration –> Setup –>Workflow insfrastructure configuration wizard. If you are getting an error after installing Dynamics AX Workflow: “401 Unauthorized”, then insure that you go through the following:
- AOS Service is running under an active domain user (domainusername)
- Workflow website and workflow application pool are having the same .NET Business Connector user name Identity (and of course, this should be an active domain user)
- You added the workflow website (http://servername:portnumber/DynamicsAXWorkflow50 for example) to the trusted sites in Internet Options of AOS server
- Run the following on the Workflow server:
- �
- Start a command prompt.
- Locate and then change to the directory that contains the Adsutil.vbs file. By default, this directory is C:InetpubAdminscripts.
- Type the following command, and then press ENTER:
cscript adsutil.vbs set w3svc/NTAuthenticationProviders “NTLM”
- �
- To verify that the NtAuthenticationProviders metabase property is set to NTLM, type the following command, and then press ENTER:
cscript adsutil.vbs get w3svc/NTAuthenticationProviders
The following text should be returned:
NTAuthenticationProviders : (STRING) "NTLM"
By this, workflow infrastructure configuration wizard should work fine now.
Search the site
Dynamics AX 2012 Event
Recent Posts
- D365FO | Cannot Connect to SQL Server Database on Your Cloud Test Machines
- Intro to Microsoft Dynamics AX in Arabic – سلسلة حلقات مايكروسوفت داينامكس إيه إكس بالعربية
- Microsoft Dynamics Launch – Sunday, 24th February – Intercontinental Hotel, Riyadh
- Files of Our AX Brains Dec 2012 Event
- It was a great day!
- Tomorrow is the day for our Dynamics AX Brains Technical Seminar
- Dynamics AX Brains December 2012 Technical Seminar
- Windows Server 2012: Built from the Cloud Up
Tags
Archives
- October 2019 (1)
- January 2014 (1)
- February 2013 (1)
- December 2012 (4)
- September 2012 (2)
- December 2011 (2)
- November 2011 (3)
- July 2011 (3)
- June 2011 (4)
- May 2011 (3)
- April 2011 (4)
- March 2011 (12)
- February 2011 (2)
- January 2011 (3)
- December 2010 (1)
- November 2010 (1)
- October 2010 (5)
- August 2010 (1)
- July 2010 (3)
- June 2010 (4)
- May 2010 (5)
- April 2010 (1)
- March 2010 (9)
- February 2010 (4)
- January 2010 (4)
- December 2009 (11)
- September 2009 (1)
- August 2009 (1)
- July 2009 (2)
- September 2008 (1)
Random Testimonial
- ~ Mohamed Wajd Haikal, Software Team Leader at IDIS
"Amer is one of my best friends, he always tries to be the best by focusing on gaining new certifications and to have wide relationships"
- Read more testimonials »
Hi Amer, thanks for this great article! Just to add one more checking to the list that I found in my case.
You need to ensure that the AOS Service account has the permission to access the Workflow website. By default the system will grant the access automatically when Workflow is installed. In my case I have changed to use a domain account instead of NETWORK SERVICE for my AOS Service account, since then I encountered this “401 Unauthorized” error. Adding the AOS Service account to have access to the Workflow webiste solved my problem. The default path for adding the permission is C:Program FilesMicrosoft Dynamics AX50Workflow.
Hi Wai
Many thanks for your comment! This is totally right.
Normally what I do is that I assign the .NET Busness Connector user (which is a domain user of course) to Dynamics AX AOS windows service.. by this you would have this permission by defualt :).
Thanks again Wai!
Hi All,
I want to set up Workflow for GL journal with 2 step ( 1 person create Trans, 1 approve). Can you guide me how to do step by step?
Thank you very much
Hi Rabia,
Thank you for passing by :).
Well, yes you could configure a GL workflow.. it is already there so you don’t have even to develop a new one. What you have to do:
go to GL –> Set –> Workflow Configurations
and then create a new configuration for the LedgerDailyTemplate workflow template. It is already one-step approval: Submit –> Approve.
Hi Amer,
Thank you very much for your quickly reply. However i have done that function but there is no thing happen in GL journal. Can you take some capture your set up and GL journal then send to me by email?
My email address is rabiakhan1982@gmail.com.
I hope you dont mind about this. Thanks again.
Rabia
Hi Rabia,
You must insure of the following:
1. Configure the right template
2. Set the workflow version as Active
2. set the workflow configuration as Default
If you insured of the previous steps, and you still unable to run the workflow.. then the AX workflow components must not be installed correctly.
In that case, I suggest that you go and do exactly the same steps on the Microsoft Dynamics AX VPC from Microsoft…
Hope this will help :).
Here is my email id in case you needed:
amer@amer-ax.com, you could also add me to your GTalk if you’re using it: amer.adnan@gmail.com
Hi Amer,
Because i attach some capture what i do so i had sent to your email address amer.adnan@gmail.com please check your mail box. Thanks
Rabia
Hi Amer,
I dont know why when i import from excel file Item master data and warehouse; Location; site. Warehouse and Site are ok but location and item code only save in table (i check AOT ) but didn’t display on form. What thing i miss in my excel file? please help me.
Thanks
Rabia
HI Amer,
I have developed a customized workflow in Ax2009 same template i have configure multiple time each template have multiple and different condition and all condition are tested and verified.But when i create a record and for submitting workflow
its always enable set as a default template workflow even i have insert record according to condition which i have in other template’s.but its always return default template workflow.
Thanks
Aijaz