Hi,
I'm voting to complete an activity of a WF, but when I complete the activity I get the error in the image below (>An item with the same key has already been added.). My question is how I can find what is the item that get me the error?
thanks
Hi,
I'm voting to complete an activity of a WF, but when I complete the activity I get the error in the image below (>An item with the same key has already been added.). My question is how I can find what is the item that get me the error?
thanks
Hi Laura,
I haven't seen this issue before with a standard Workflow. Could you check the Workflow Map to confirm if there are any server events running when this activity is completed? It's possible a method running in one of these events is the cause of the error.
Additionally, ou can check the AML that's being applied directly before this error by enabling the server to output logs of all the AML requests coming in. You can follow the steps below to do that.
There may be several files, but they should be relatively small. When you find the error being thrown, you can check directly above that error in the log to see what AML caused it.
Chris
Christopher Gillis
Aras Labs Software Engineer
Hi Christopher,
thanks for you reply, I'm trying to complete a custom WF. In details I've customize the ECO WF for a customer and we have put a new activity that start a custom WF. Please find in attach my log file, can you help me to identify the error?
thanks
Laura
Hello Laura,
Did you manage to work out what was causing the error you had?
Thanks
James
Hello Laura,
Did you manage to work out what was causing the error you had?
Thanks
James
Hi,
Using the remote debug I discovered that my issue was caused by a server custom method setup by the vendor of the CAD Connector that try to promote an item to the same state, for example a parte that is already in state InReview because the lifecycle promote the part inReview that method try to promote again InReview state.