Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When exception thrown within workflow execution, no info available in which workflow/step that occurred. #223

Open
janis-veinbergs opened this issue Mar 31, 2023 · 0 comments

Comments

@janis-veinbergs
Copy link

Ideally logging which workflow has been started and what steps have been taken to trace down at which step it occurred.

Current stacktrace doesn't help:

at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at WorkflowExecuter.CallCodeActivity.Execute(Dictionary`2& variables, TimeSpan timeOffset, IOrganizationService orgService, IOrganizationServiceFactory factory, ITracingService trace)
   at WorkflowExecuter.ActivityList.Execute(Int32 loopStart, Dictionary`2& variables, TimeSpan timeOffset, IOrganizationService orgService, IOrganizationServiceFactory factory, ITracingService trace)
   at WorkflowExecuter.ActivityList.Execute(Dictionary`2& variables, TimeSpan timeOffset, IOrganizationService orgService, IOrganizationServiceFactory factory, ITracingService trace)
   at WorkflowExecuter.WorkflowTree.Execute(Entity primaryEntity, TimeSpan timeOffset, IOrganizationService orgService, IOrganizationServiceFactory factory, ITracingService trace)
   at DG.Tools.XrmMockup.WorkflowManager.ExecuteWorkflow(WorkflowTree workflow, Entity primaryEntity, PluginContext pluginContext, Core core)
   at DG.Tools.XrmMockup.WorkflowManager.TriggerAsync(Core core)
   at DG.Tools.XrmMockup.Core.Execute(OrganizationRequest request, EntityReference userRef, PluginContext parentPluginContext)
   at DG.Tools.XrmMockup.MockupService.SendRequest[T](OrganizationRequest request)
   at DG.Tools.XrmMockup.MockupService.Create(Entity entity)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant