Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
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 | Talent 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