Published
- 1 min read
ms crm set state request dynamics 365 set state request
The solution for this is noted below
ms crm set state request dynamics 365 set state request
Solution
SetStateRequest req = new SetStateRequest();
req.EntityMoniker = new EntityReference("contact" ,entity.Id);
req.State = new OptionSetValue(1);
req.Status = new OptionSetValue(2);
service.Execute(req);
Try other methods by searching on the site. That is if this doesn’t work