Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Value for this parameter must be equal or greater than zero.

(0) ShareShare
ReportReport
Posted on by 460

Hi,

I'm created new custom workflow.

when I try to debug, there is no error at all with the code. but, when I run the workflow, there is an error saying "Value for this parameter must be equal or greater than zero.".

this is the complete error log

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: #E78D8BA7Detail:
<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: #E78D8BA7</Message>
<Timestamp>2017-03-03T06:01:59.3420101Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Value for this parameter must be equal or greater than zero.</Message>
<Timestamp>2017-03-03T06:01:59.3420101Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>

[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[46f6cf4c-14ae-4f1e-98a1-eae99a37e95c: ExecuteWorkflowWithInputArguments]
Starting sync workflow 'Finalize Campaign', Id: 8f86913f-d5ff-e611-8126-00155d380103
Entering ConditionStep1_step:
Entering CustomActivityStep3_step:
Sync workflow 'Finalize Campaign' terminated with error 'Value for this parameter must be equal or greater than zero.'

</TraceText>
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>

any idea how to solve this issue?

*This post is locked for comments

  • xcode17 Profile Picture
    xcode17 460 on at
    RE: Value for this parameter must be equal or greater than zero.

    Hi Peder,

    yes, you are correct. many thanks for this info.

  • Verified answer
    Peder M. Wagner Profile Picture
    Peder M. Wagner 35 on at
    RE: Value for this parameter must be equal or greater than zero.

    This error can occur when calling ExecuteTransactionRequest from a workflow. Especially if the items being updated is also updated in the existing workflow transaction. Please see my response to community.dynamics.com/.../199567

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,076 on at
    RE: Value for this parameter must be equal or greater than zero.

    Hi Denis,

    In the workflow, are you setting the invalid value for some fields?

    See: msdn.microsoft.com/.../tf4tea22(v=vs.90).aspx

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,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,375 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans