scottmahr - Monday, April 18, 2011 1:46 PM:
Hi All,
Opened a new Purchase Request (an itemtype I created). Filled out all the details, but when I try to save I get "The given key was not present in the dictionary". I have no clue what this means, any ideas on where to start looking for problems?
Thanks,
Scott
ahahn - Monday, April 8, 2013 11:30 AM:
Did you ever resolve this? We are having this exact same issue.
Eric Domke - Tuesday, April 9, 2013 11:18 PM:
Do you have any server method associated with the item type (e.g. on before or after add or on before or after get)?
bellis - Friday, April 12, 2013 12:16 PM:
One thing that comes up in the Training classes here at Aras from time to time has to do with Workflows. It's possible to accidentally add a path to a workflow activity and not have it appear in the Workflow Map. When an item is created that uses the Workflow the "key" error appears. To correct the problem, select each Activity in the Workflow Map and then choose the Paths tab from the Activity Template to make sure the paths listed match the diagram.
amcculloch - Monday, June 16, 2014 9:13 AM:
The solution listed here isn't working for me. There is a server method associated with item type. What next?
ahahn - Friday, April 12, 2013 3:30 PM:
Thanks Bob, that was the exact cause.
Eric Domke - Monday, June 16, 2014 10:07 AM:
What is the code of your server method? It could be that this code is causing the error, but without seeing the code, it would be difficult to say.
Martin Fraser - Thursday, July 31, 2014 6:07 AM:
The solution listed here isn't working for me. There is a server method associated with item type. What next?
It took a bit of playing, but if you right-click on the duplicate path -> select view then you can use the delete button on the next screen.
Hope this helps.
Martin.
John Sharpe - Friday, November 1, 2013 3:42 PM:
But, what is the solution? How does one delete a path when it is shown in the grid but not graphically in the diagram?
pankaj - Wednesday, June 18, 2014 2:33 AM:
Are you getting this error for Existing instance or New instances.
Pat Madigan - Tuesday, November 11, 2014 12:59 PM:
I had this happen recently, and was not able to delete the path from within Innovator. I'm using Innovator 9.3 SP3.
This may not be the recommended solution, but my workaround was to rename the bad path as "DELETEME", and then use the following SQL:
delete from workflow_map_path where name = 'DELETEME'
Also, the bogus path could be anywhere in the workflow map, not necessarily at the beginning (I was seeing the error when I did the intial save of the item). Just look for any recent changes that you've made to the workflow, and you should spot the extra path.
thanks,
Pat
ahahn - Tuesday, November 5, 2013 5:21 PM:
Hi John,
I don't remember this particular issue, but it seems the following line from Bob's post was the solution to my issue.
"To correct the problem, select each Activity in the Workflow Map and then choose the Paths tab from the Activity Template to make sure the paths listed match the diagram."
amcculloch - Thursday, July 3, 2014 7:43 AM:
I see a path in the grid, but not in the workflow. Is is possible that the arrow is so far off my screen I can't see it? How can I zoom out of the workflow map? I'm running windows 7 and ctrl+mouse scroll works to zoom in/out the screen except the workflow map.
pankaj - Friday, July 4, 2014 1:10 AM:
I guess you have deleted the path in the workflow but old instance are still pointing to the workflow which is having the path(which you deleted).
So, data clean up on the path is necessary.
Pankaj B