web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

error when activate workflow

(0) ShareShare
ReportReport
Posted on by 1,821

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

I have the same question (0)
  • Suggested answer
    M I Mostafa Profile Picture
    4,257 on at

    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.

  • Suggested answer
    Friyank Profile Picture
    944 on at

    it seems some dependency issue,

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

  • P NOUSHAD Profile Picture
    1,821 on at

    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
    944 on at

    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

  • Suggested answer
    Siddique mahsud Profile Picture
    11 on at

    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-

  • Eduardo Starks Profile Picture
    80 on at

    Hi Friyank,

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

    -Eduardo

  • Allie_B Profile Picture
    74 User Group Leader on at

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans