Hi All,
I'm trying to update the email which is recieved from router,currently email state will be completed,i would like to reopen the email and assign to others for further process....
here the code:
SetStateRequest setStateRequest = new SetStateRequest()
{
EntityMoniker = new EntityReference
{
Id = email.Id,
LogicalName = email.LogicalName
},
State = new OptionSetValue(0),
Status = new OptionSetValue(1)
};
service.Execute(setStateRequest);
plugin executed successfully but with no changes...
statecode is 1(compelted) and status 4(recieved)...
Thanks & Regards Vijji