![]() |
#1 |
Участник
|
workflowax: X++ Exception: Workitem could not be created.
Источник: http://workflowax.wordpress.com/2012...ot-be-created/
============== ![]() I developed a custom workflow and its setup its corresponding configuration, I was able to submit and everything but ended up getting the following error in my workflow history when the workflow system tried to assign a workitem to me: Stopped (error): X++ Exception: Work item could not be created. Insufficient rights for user Jonathan. at SysWorkflowWorkItem-create SysWorkflowWorkItem-createWorkItems SysWorkflow-save SysWorkflowQueue-resume SysWorkflowMessageQueueManager-executeTask SysWorkflowMessageQAfter exploring for a while I found an additional line on my batch server’s event log stating “X++ Exception: The workflow system could not access the business document data. Report this issue to your system administrator.” which once can trace back to line 68 of the SysWorkflowDocument.assertAsUser method. I reviewed the query linked to my workflow document of my custom template and realized that one of the links or ranges caused no records to be returned, ever. Fixing the query and resuming my workflow caused the workitem to process correctly. Unfortunately this error message was a bit cryptic for the actual issue at hand, but I hope this will help someone who runs into the same issue in the future. ![]() Источник: http://workflowax.wordpress.com/2012...ot-be-created/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
За это сообщение автора поблагодарили: lev (5). |
Теги |
ax2012 |
|
|