Announcements
My workflow gets activated but it is not assigned to the user i assigned.. anybody knows please help..
*This post is locked for comments
I am also facing the same problem of workflow in AX. When I use purchase req it is not assigning to the users. Valuable inputs will be highly appreciated . I wish if I can connect with anyone who can resolve this. Please provide phone nos if possible to discuss the same in detail.
Regards,
Santhosh
I have created new workflow for my new module.when submitting the workflow it gets activated but it is not assigning to the user i assigned.while seeing in view history ,the workflow status is pending but actually i submitted to workflow but it is showing pending.please help..
i have created new workflow for my new module.when submitting it gets activated but it is not assigned to the users i assigned.in view history form,the status of the workflow shows pending.please help..
THANKS
Hi Mashook,
I have rectified my workflow issue my unistalling AX and re did everything from scratch, the workflow started working.
Hence there are few things you may need to check like how many instance you are running. If you are running more than one instance just stop all other instance and try. If this does'nt work then you can rerun your installation procedure to ensure everything is setup right. Take back up of everything you have and do the reinstallation. Try this .
Note: Workflow seems to work only when one instance is running for me after reinstallation.
Santhosh Kumar R
Hi All,
I also have similar type of issue
I have created new workflow for my new module.when submitting the workflow it gets activated but it is not assigning to the user i assigned.while seeing in view history ,the workflow status is pending but actually i submitted to workflow but it is showing pending.
As Santosh Said earlier, for me it's very difficult to re-install every thing and get back the system freshly... I have heavily customizations and different layers.
If any another solution please help me out...
Santosh Kumar Paruvella.
I had faced this issue because of two reasons in my case
1) Batch server not running properly
2) Target date issue – calendar setup for workflow.
Solution for 1st issue is following
If we have any issues with batch server in dynamics ax, while working on Dynamics Ax Workflow, alternatively we can run the batch jobs, using a simple Job.
static void workflowJobs(Args _args)
{
SysWorkflowMessageQueueManager queueManager;
WorkflowWorkItemDueDateJob workItemDueDateJob;
;
queueManager = SysWorkflowMessageQueueManager::construct();
queueManager.run();
workItemDueDateJob = new WorkflowWorkItemDueDateJob();
workItemDueDateJob.run();
}
Here we need to (manually) run the job more number of times to complete the workflow steps, where as batch server run these jobs upon recurrence scheduled.
This is an alternative way to run the workflow jobs, if we have issues with batch server.
Solution for 2nd issue, I had posted the same solution in my technical blog and that can see at the following link.
http://paruvella.spaces.live.com/blog/cns!F2EC589E221A4DB0!259.entry
When the workflow is activated, but not assigned, you can first check the batch processing for the workflow items in AX.
You can also check if your IIS is running correctly. Read more on the next blog:
http://blogs.msdn.com/lcash/archive/2009/08/30/using-workflow-on-the-r2-demo-vm.aspx
Perhaps you can download the demo virtual machine (available from customersource and partnersource) to check the configuration and setup. I did it and the workflow is running in the VPC (after following the tips on the blog). Somewhere in the next months we will try to activate workflow in the real world.
Hi Mashook
In my case i had also struggled a lot intially like you only.... :-(
I am able to submit the workflow, but not able to assign to any one for approval (Workflow setup is done for assigning alos)... i.e. further i am not bale to complete the workflow cycle after submit action is completed.
later i found that issue with batch server, not exceuting the batch jobs even though i had defined batch jobs for worklfow execution classes and given the reccurence as 1min only....
No result.. :-(
After i had run the above job explicity by creating the new Job under AOT-->Jobs.... (if u have same issue just u can run this job)
U have to run the job around 4-5 times to activate the further steps of workflow... after this u will find that workflow has assigned for approval to the assigned person from workflow setup.
then i came to know that another issue with Calendar setup for workflow. for this also u can find the solution from my previuos post here
Try this way, i think u will get succeed.... All the best :-)
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CP04-islander 21
Harisgillani 4
dekion 4