AXForum  
Zurück   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Kennwort vergessen?
Registrieren Forum Rules Hilfe Benutzerliste Heutige Beiträge Suchen

 
 
Themen-Optionen Thema durchsuchen Ansicht
Alt 04.06.2010, 21:06   #1  
Blog bot ist offline
Blog bot
Участник
 
25.644 / 848 (80) +++++++
Registriert seit: 28.10.2006
emeadaxsupport: Workflow error. Cannot resolve Workflow originator when user language is not English
Источник: http://blogs.msdn.com/b/emeadaxsuppo...t-english.aspx
==============


Some time ago we run into this problem for user whose language was Spanish although I can also happen for other users with different languages (i.e. Polish). 
When we configure the workflow assignment as “assign to:” to be “Role Based” and we choose “Workflow originator” The workflow task is never assigned to any user and a “Host Runtime ” error is logged on the event log.

Dynamics Adapter CallStaticClassMethod failed..
And in Workflow history form you can find error

"User group could not be found"
in local language (label @SYS105452)

 

The issue happens in class SysWorkflowProviderService method resolveParticipant in mentioned if:

// handle actor paricipants if (strcmp(enum2str(WorkflowActorType::Originator), _participant) == 0)

{

    users = WorkflowUserList::construct();

    users.add(workflowTable.Originator);


}

The problem here is that in Spanish

enum2str(WorkflowActorType::Originator) = Orginador del flujo de trabajo (@Sys102950)
_participant =Orginador del flujo

So the  strcmp (string compare) returns value false and user is not added. The parameter _participant is cut to 20 signs, the reason behind is that it is Extended Data Type WorkflowParticipantToken::Orginator which string size is setup to 20.

There can be two solutions:

1. Change property StringSize of WorkflowParticipant token to 40.

2. Create new label which length will be shorter than 20 and assign it to WorkflowParticipantToken::Orginator




Источник: http://blogs.msdn.com/b/emeadaxsuppo...t-english.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Ошибка бизнес-процесса Tarasov E Dynamics CRM: Разработка 9 18.02.2010 14:02
emeadaxsupport: Error message “The value ‘xxx’ is not found in the map” when opening Workflow configuration Blog bot DAX Blogs 0 10.02.2010 00:07
emeadaxsupport: Workflow - user abc has no access to menu item PurchReqTable Blog bot DAX Blogs 0 28.10.2009 00:06
emeadaxsupport: Certain User groups cannot be deleted in Dynamics AX Blog bot DAX Blogs 0 29.07.2009 19:05
Говорят вышел SP2 для Axapta 3. Кто нибуть что знает на эту тему? soin DAX: Прочие вопросы 10 13.10.2003 10:43

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Gehe zu

Рейтинг@Mail.ru
Alle Zeitangaben in WEZ +3. Es ist jetzt 09:07 Uhr.
Powered by vBulletin® Version 3.8.5 (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.