Does anyone know or have an idea why the code below:
DynamicEntity dynamicEntity = (DynamicEntity) context.InputParameters.Properties[ParameterName.Target];
String entityName = dynamicEntity["name"].ToString();
String entityId = context.OutputParameters.Properties["id"].ToString();
runs fine for account creation but not for account update? I get the "The given key was not present in the dictionary" error in the message, but I don't know why it would work for creation and not update....