Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

error when activate workflow

Posted on by 1,771

Hi,

I am getting error when activate workflow which was imported by using unmanged solution but it was working in source computer.  Please find screen-shot and the error log when I tried to activate the imported workflow.

Kindly help to fix the problem.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error.
Reference number for administrators or support: #04CC4F9DDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ErrorCode>-2147220970</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #04CC4F9D</Message>
  <Timestamp>2017-08-20T07:53:18.7803727Z</Timestamp>
  <InnerFault>
    <ErrorCode>-2147187627</ErrorCode>
    <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
    <Message>The selected workflow has errors and cannot be published. Please open the workflow, remove the errors and try again.</Message>
    <Timestamp>2017-08-20T07:53:18.7803727Z</Timestamp>
    <InnerFault i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <TraceText i:nil="true" />
</OrganizationServiceFault>

8625.111.png

*This post is locked for comments

  • Allie_B Profile Picture
    Allie_B 69 User Group Leader on at
    RE: error when activate workflow

    I had this same issue; going through each Set Properties, clearing and re-selecting the values removed the error condition.

  • Eduardo Starks Profile Picture
    Eduardo Starks 80 on at
    RE: error when activate workflow

    Hi Friyank,

    I had the same issue, and updating the required fields fixed it, thank you!

    -Eduardo

  • Suggested answer
    Siddique mahsud Profile Picture
    Siddique mahsud 11 on at
    RE: error when activate workflow

    Hi Noushad,

    Once I suffer the same kind of issue in workflow after importing solution from Dev to Test environment.

    In my case the currency lookup contains value which was not exist in our test environment.

    You should check all the lookup and option set fields on the page, reset all lookup & Option set field values.

    Hopefully this will help you.

    Thanks-

  • Suggested answer
    Friyank Profile Picture
    Friyank 944 on at
    RE: error when activate workflow

    On Opportunity Information form, you will have one more field required , please scroll down to bottom of that Opportunity entity form  

    issue is with some required field on Opportunity  form (in additional details section ).

    please check it through

  • P NOUSHAD Profile Picture
    P NOUSHAD 1,771 on at
    RE: error when activate workflow

    Hi,

    Thanks for reply.  I could n't find any error on set Properties.

    5305.333.png

    pls find below error when activate workflow.

    5305.333.png

  • Suggested answer
    Friyank Profile Picture
    Friyank 944 on at
    RE: error when activate workflow

    it seems some dependency issue,

    please click each set properties and update it again to check what all options are missing.

  • Suggested answer
    M I Mostafa Profile Picture
    M I Mostafa 4,257 on at
    RE: error when activate workflow

    Hi there,

    Most probably your workflow is referencing a configuration record, a category or other similar configuration values that are specific for each instance. 

    Please click on "Set Properties" and see what the error is.

    If you are not sure, get a screenshot of the error message from within the workflow configuration page and post it here.

    Hope this helps.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans