(Aras Innovator 11.0 SP9 6549)
Hi,
I've customized a life cycle and workflow for software Parts, but am now seeing an error ("An item with the same key has already been added.") when, it appears, the workflow attempts to perform a promotion.
Life CycleWorkflow + Promotion
Notably, the life cycle and workflow functioned correctly before I added the Submit state and the related Submit -> Proposed promotion. Also, after adding the state but not configuring the promotion, the workflow proceeds successfully (but of course the state doesn't change to Proposed as needed). Only after configuring the promotion do I see this error.
It looks like some SQL is trying to insert a duplicate key; but even after enabling the additional logging I don't seem to see any indication of where/what is going wrong.
Is this a bug? Or perhaps I have misunderstood some system workings?
Thanks in advance,
mszab
you are doing it on a start activity. You shouldn't do so (even if Aras doesn't prevent you from doing it). If you want to have an automatic activity to do it after item creation, add an activity after the start activity set it as automatic and don't forget to set the default pah and attach your promotion to it.
you are doing it on a start activity. You shouldn't do so (even if Aras doesn't prevent you from doing it). If you want to have an automatic activity to do it after item creation, add an activity after the start activity set it as automatic and don't forget to set the default pah and attach your promotion to it.