AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 02.05.2012, 19:13   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
workflowax: X++ Exception: Workitem could not be created.
Источник: http://workflowax.wordpress.com/2012...ot-be-created/
==============

I have been doing some tests with a new custom workflow and came across the following scenario. (Note: this describes a solution to one of the many issues that may cause this error message)

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

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
workflowax: Workflow threw an exception for the following reason: Class MyDocumentClass cannot be instantiated. Blog bot DAX Blogs 0 02.05.2012 13:11
workflowax: Workflow history error – Stopped (error): Could not find user Blog bot DAX Blogs 0 11.02.2012 01:11
workflowax: Error executing code: FormDataSourceObject not initialised Blog bot DAX Blogs 0 25.11.2011 17:11
workflowax: Why is my yellow workflow bar not displaying Blog bot DAX Blogs 0 20.09.2010 12:05
workflowax: Fields not appearing in Condition Editor Blog bot DAX Blogs 0 23.08.2010 11:05

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 19:40.