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
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
Hi, We constantly facing an issue whereby the workflow instance stopped without any error message in event viewer. Can any one provide any hints about the following:
1 - Any Patches for this? AX2012 R2 RTM
2 - How we can resume the stopped workflow using X++? Does any one has the code example?
What information do you see in workflow history?
Below are the error message we get from workflow history and also event viewer.
We able to solve it by resuming the workflow, but still this kind of error will come back constantly.
Workflow instance ID: 010260, Workflow error! Unable to send notification Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics. The workflow system could not access the business document data. Report this issue to your system administrator. The workflow system could not access the business document data. Report this issue to your system administrator.. Please contact your system administrator.
Workflow Instance ID: 010260 Microsoft.Dynamics.AX.Framework.Workflow.Runtime SysWorkflowQueue-resume SysWorkflowEvaluationProvider-evaluate SysWorkflowEvaluationProvider-evaluateCondition X++ Exception: The condition could not be evaluated. No data has been returned.
at Microsoft.Dynamics.AX.Framework.Workflow.Runtime.AxWorkflowService.Evaluate(ActivityContext context)
at Microsoft.Dynamics.AX.Framework.Workflow.Runtime.ConditionalGateway.Execute(NativeActivityContext context)
at System.Activities.NativeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Workflow instance ID: 010260, X++ Exception: The condition could not be evaluated. No data has been returned.
The workflow system could not access the business document data. Report this issue to your system administrator. The workflow system could not access the business document data. Report this issue to your system administrator. X++ Exception: The condition could not be evaluated. No data has been returned.
looks like security, do the work flow user have correct rights to do the job
restart /push workflow
static void resumeWorkflow(Args _args)
while select WorkflowTrackingStatusTable where WorkflowTrackingStatusTable.TrackingStatus == WorkflowTrackingStatus::Faulted &&
WorkflowTrackingStatusTable.WorkflowType == WorkflowTrackingStatusWorkflowType::Workflow
This reply may help others - I'm sure that a year later you won't still have this issue!
It won't be useful to resume these you mention because from what I can see you may have a security policy in place which is hiding records from that user. Their role may have a policy tied to it which is restricting the data they see and workflow can't pass that record to them to approve. They may have the appropriate privilege and entry point but just not be able to see the record.
Business Applications communities