My workflow gets activated but it is not assigned to the user i assigned.. anybody knows please help..
Here the workflow originator (user who is submitting the workflow) and workflow approver must be under the groups of wfexc and wfsys.
Santosh Kumar Paruvella
I used the auto-approval when setting up Workflow and yes work originator is under the group wfsys and wfexec
If any another solution please help me out...
Thanks in Advance,
You need to run the above job more than once until it is get assigned.... (In case batch server not working properly)
If server works fine, it will take number of iterations as shadow, based on reoccurence....
so here manually, you need to run the above job more than once...
for more information u can refer my blog entry as mentioned above.....
still if u have issues u can contact me freely.........
Santosh Kumar Paruvella.
Have you debug the code when you submit the workflow? I was facing a similar issue, and I did the following:
1- I made sure that the Assignee was within the SysCompanyInfo table and the SysUserInfoTable. In my case I had to add those users to active directory and create an account in ax with the correct permissions.
2- I found the above by debugging the code line by line until I got an error with some values equal to null. From that point on it took me a whole day to fix all the issues. But basicaly were issues regarding the lack of data necessary to complete operations.
3- Make sure that in IIS the workflows have the sufficient permissions to access data (in this case you should check the Business Connector and ISAPI rights)
All details about setting up workflows in AX are available at the link below:
Do we need to manually run Workflow batch manually everytime. Now we are running workflow engine by going to AOT > Forms .How can we enable the workflow batch job always running backend? Please help
Verify that the user have the right to approve the workflow and the calendar that you had choosed when you affect the workflow to the user!
click on the button Actions the choose "view history" to verify if the workflow is blocked or "waiting"!
Here is the best tutorial ever ,
Double check your configuration with the guides , which include this blog post.
its also helped me a lot .
hope this may help.
Since my reply is coming more than 4 years later it may not be useful to you but hopefully someone else out there will benefit. I had the same problem you had even after I tried Santosh's simple batch job - I was getting an error. One thing you need to do after you've copied and pasted the script into AOT->Jobs is you need to compile it first before clicking the 'Run' button or F5. When I did that it worked and all the workflows that were stuck assigned to users and generated work items.
I am facing similar issue. workflow doesnot works only when I set condition with originator, it works with other conditions.
please go to system administraton/common/ users
select the user and click on edit
in user go to user's roles/ assign roles and select the roles who assign to user
Please follow the link: