locked
CRM 2011 Work Flow Error RRS feed

  • Question

  • Hi All,

    kindly i need your help, i have created a work flow to send email when quotation is assigned.

    it was working fine but last week employees started complaining about the emails they dont receive.

    according to the work flow emails status are pending or sent ( if sent i can see the email created ) but not delivered to employees outlook,  and when i try to click "View Properties" from the activated work flow it gives me an error in a new window says "error has occured".

    kindly find below the error i found in the event viewer.

    Note: i have installed rollup 11.

    Log Name:      Application

    Source:        ASP.NET 4.0.30319.0

    Date:          11/29/2012 2:26:05 PM

    Event ID:      1309

    Task Category: Web Event

    Level:         Warning

    Keywords:      Classic

    User:          N/A

    Description:

    Event code: 3005

    Event message: An unhandled exception has occurred.

    Event time: 11/29/2012 2:26:05 PM

    Event time (UTC): 11/29/2012 12:26:05 PM

    Event ID: d60cdc98e2d844faa95f38e5a06b6366

    Event sequence: 90449

    Event occurrence: 30

    Event detail code: 0

    Application information:

        Application domain: /LM/W3SVC/1/ROOT-1-1299564500363

        Trust level: Full

        Application Virtual Path: /

        Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\

        Machine name: CRM

    Exception information:

        Exception type: IndexOutOfRangeException

        Exception message: Index was outside the bounds of the array.

       at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.GetEntityProperty(ExpressionBase propertyExpression)

       at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.GetEntityPropertyForProperty(PropertySpecification property, String uiXmlName, String& slugInfo)

       at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.PopulateEntityProperties(EntitySpecification entitySpec, EntityBase entity, String uiXmlName)

       at Microsoft.Crm.Web.Sfa.EntityForm.get_FormEntity()

       at Microsoft.Crm.Web.Sfa.EntityForm.ConfigurePage()

       at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)

       at System.Web.UI.Control.PreRenderRecursiveInternal()

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


    Thanks & Regards, Sandy Effat

    Thursday, November 29, 2012 1:49 PM

Answers

  • This is a known issue if you've used a specific object (like a user) in the CC-field but have removed it at a later stage (blanked it, not replaced).
    The way to fix this is to either re-create the workflow With a blank CC-field, or you could export your workflow, edit it and remove the references in the CC-field and re-import it.

    - Marius

    • Marked as answer by Sandy Effat Tuesday, December 4, 2012 10:43 AM
    Saturday, December 1, 2012 9:01 AM

All replies

  • This is a known issue if you've used a specific object (like a user) in the CC-field but have removed it at a later stage (blanked it, not replaced).
    The way to fix this is to either re-create the workflow With a blank CC-field, or you could export your workflow, edit it and remove the references in the CC-field and re-import it.

    - Marius

    • Marked as answer by Sandy Effat Tuesday, December 4, 2012 10:43 AM
    Saturday, December 1, 2012 9:01 AM
  • you really helped me, thanks alot.


    Thanks & Regards, Sandy Effat

    Tuesday, December 4, 2012 10:44 AM