Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Not able to add step to Workflow

(0) ShareShare
ReportReport
Posted on by

When trying to add a new step to an newly created workflow an Exception is thrown. When I save this workflow after this Exception was triggered I'm not able to open it again. However when not triggered I can activate it an reopen it. 

I already tried naming my workflow differently, (thought I shouldn't be able to even create it if the name is already taken). I also tried other Entities with and without any customization from our side. I also used different Browsers (Chrome  V64.0.3282.186, Firefox V58.0.2 and Firefox Nightly 61.0a1) 

Does someone has an idea what could be wrong?

Here is also the Error Message

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.ArgumentException: An item with the same key has already been added.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>ebd16eba-868a-4744-8898-46309dc8d02a</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.ArgumentException: An item with the same key has already been added.</Message>
<Timestamp>2018-03-13T10:12:28.7030355Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

*This post is locked for comments

  • Suggested answer
    faisalimran Profile Picture
    faisalimran 82 on at
  • RE: Not able to add step to Workflow

    It looks you are trying to add same attribute value that already in the workflow. For example in account entity account number attribute already exists but again you are trying to add that attribute to the workflow that will throw this error.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

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,436 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans