Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

WorkflowSecurityManager.AddApprovalWorkflow;The description for Event ID ( 0 ) in Source ( Microsoft.Dynamics.Workflow ) cannot be found.

(0) ShareShare
ReportReport
Posted on by 455 User Group Leader

hello,

i am getting the following error while configuring GP approval workflow

i checked the settings; able to log into the Dynamics Security Console and click on the Policy node without error.

Environment: Windows 2003 Standard, Dynamics GP 2010, Webservices, Workflow, Sharepoint 2007

Event Type: Error

Event Source: Microsoft.Dynamics.Workflow

Event Category: None

Event ID: 0

Date: 29/05/2013

Time: 8:22:22 PM

User: N/A

Computer: AFDYNAMICS1

Description:

The description for Event ID ( 0 ) in Source ( Microsoft.Dynamics.Workflow ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Action:

WorkflowSecurityManager.AddApprovalWorkflow

Current User LogOnName:

AFG\dynamicsadmin

Input parameters:

<RequestObjects>

<WorkflowAssociation xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema">

 <Key>

   <OrganizationId>[OrganizationKey xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema" xmlns:q1="schemas.microsoft.com/.../01" xsi:type="q1:CompanyKey"]  [q1:Id]1[/q1:Id][/OrganizationKey]</OrganizationId>

   <DynamicsWorkflowId>f01d80eb-d355-460c-8cb6-b2a2162a078b</DynamicsWorkflowId>

 </Key>

 <SPWorkflowAssociationId>526894da-2635-4722-9496-3f0b75011b37</SPWorkflowAssociationId>

 <SecurityAssociations>

   <WorkflowSecurityAssociation>

     <WorkflowSecurityGroup>Approver</WorkflowSecurityGroup>

     <GroupName>Dynamics GP Purchase Order Approval WorkflowApprover1</GroupName>

   </WorkflowSecurityAssociation>

   <WorkflowSecurityAssociation>

     <WorkflowSecurityGroup>CarbonCopies</WorkflowSecurityGroup>

     <GroupName>Dynamics GP Purchase Order Approval WorkflowCarbonCopies1</GroupName>

   </WorkflowSecurityAssociation>

   <WorkflowSecurityAssociation>

     <WorkflowSecurityGroup>Delegate</WorkflowSecurityGroup>

     <GroupName>Dynamics GP Purchase Order Approval WorkflowDelegate1</GroupName>

   </WorkflowSecurityAssociation>

   <WorkflowSecurityAssociation>

     <WorkflowSecurityGroup>Manager</WorkflowSecurityGroup>

     <GroupName>Dynamics GP Purchase Order Approval WorkflowManager1</GroupName>

   </WorkflowSecurityAssociation>

   <WorkflowSecurityAssociation>

     <WorkflowSecurityGroup>Originator</WorkflowSecurityGroup>

     <GroupName>Dynamics GP Purchase Order Approval WorkflowOriginator1</GroupName>

   </WorkflowSecurityAssociation>

 </SecurityAssociations>

 <SPListId>90f9487e-b277-41cc-946c-ccc5c5ca92f3</SPListId>

 <SPTaskListId>b1048e15-ea62-445e-924f-c85218a0d803</SPTaskListId>

 <SPHistoryListId>8f274eb2-dc47-4a9e-a1e2-cc89bb66f059</SPHistoryListId>

 <IsEnabled>true</IsEnabled>

</WorkflowAssociation></RequestObjects>

Exception type:

System.NullReferenceException

Exception message:

Object reference not set to an instance of an object.

Stack Trace:

  at Microsoft.Dynamics.Workflow.WorkflowSecurityManager.AddContentTypeToTaskList(SPWeb web, SPList taskList)

  at Microsoft.Dynamics.Workflow.WorkflowSecurityManager.AssignApprovalGroupsToWorkflowAssociation(SPWeb web, WorkflowAssociation workflowAssociaiton)

  at Microsoft.Dynamics.Workflow.WorkflowSecurityManager.AddApprovalWorkflow(DynamicsSPWeb web, WorkflowAssociation workflowAssociation)

.

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans