Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I'm working with threads in AX 2012, everything was fine until yesterday, thread seems not to run. I've attempt to debug it, but debugger doesn't enter in thread code, and when i use thread.status(), it gives me "3", but unfortunately this value isn't documented (http://msdn.microsoft.com/en-us/library/thread.status.aspx).
Any clue? Thanks in advance
PS : I also tried thread.statustext() and thread.statuscounter(), both returning nothing, and thread.set/getErrorLog with any result.
I got the same problem, I can test thread run successfully in the Job, but when I call it in Report Data Provider, thread status return value 3.
I try to search google,
0 = Thread never ran
1 = Thread is executing
2 = Thread has finished executing
Don't have value 3.
Does anyone has solution for this issues?
thread.status() == 3 means job (thread) was aborted... I received this result in ax 2009 when I ran my threads from server method. Thread().run methods were server, but the method i called them from had to be Client other way i received status == 3 and my threads did not execute at all. Hope this post will help somebody =)
AX2012 allows multiple threads in batch process, have you tried to do it that way instead using threads?. There are some advantage, batch process informs you the percentage that the aos has completed, and you can also see wich tasks are completed, with error o running.
I thought about that... but i work with ax 2009... and i am not shure that batch process allows as many threads as i can make using threads directly from code, in fact i did not see into batch details enough. Can i determine how many threads will be used in batch? I need max performance it is the only target in my case. And using threads i also can see wich threads are completed and see error log.
I am facing the same issue. Did you the solution?
Business Applications communities