Hi everyone,
I am developing a plugin that have registered a step in the Create's Entity.
I can't figured out how to set a two option set value when the logic' plugin ends.
My code is somethin like this:
var service = localContext.OrganizationService;
//Entity postImageEntity = (context.PostEntityImages != null && context.PostEntityImages.Contains(this.postImageAlias)) ? context.PostEntityImages[this.postImageAlias] : null;
//Obtengo el contexto de la Entidad
Entity contextEntity = (Entity)context.InputParameters["Target"];
// if (!contextEntity.GetAttributeValue<bool>("tps_procesado"))
//{
PluginInitCreate(contextEntity, service);
contextEntity.Attributes["tps_procesado"] = true;
service.Update(contextEntity);
}
}
But whe the logic runs the two option value is not updated.
Someone could help me?
Regards,
Matias.
*This post is locked for comments
I have the same question (0)