chicago bq on Mon, 25 Jan 2016 17:54:10
In a plugin (registered in Create Message, post Operation, Asynch. mode), I tried to update a custom field in Opportunity. I got error: "The traversed path should end with the new active stage". Then, I programmatically match the last stage in 'traversedpath' field to 'stageid' field, it's still not working with the same error. Here is the code, and any idea? Thanks.
if (opp != null)
if (context.MessageName == "Create")
opp.Attributes["traversedpath"] = myTraversedpath; // last id in CVS format is the same as that in 'stageid' field
opp.Attributes["myCustField"] = myCustText;