on 2021 Aug 17 10:09 AM
Dear Team,,
I need to set status short closed and i have passed short closed status value code in sdk code. but when i am calling my action through workflow rule then status getting set in -progress instead of short closed.
As i have tried to set manually through before save method then it's working fine but when we tried to call action/sdk script code through workflow rule then it's setting in-progress Z1 instead of Z5- Short closed.
Could you please help me in it. is it because of standard status something or how to handle it. PFB my action code for it.
var sender this.ServiceRequestInteraction.OrderByDescending(n=>n.SystemAdministrativeData.CreationDateTime).GetFirst().MessageFromParty; var CustomerEmailID = this.ZEMailOData.content;
if (sender.IsSet())
{ var fromid = sender.EmailURI.Substring(0);
if(!( fromid == CustomerEmailID ))
{
this.ServiceTerms.ServiceRequestUserLifeCycleStatusCode = "Z5"; "" Z5 for short closed in system but setting Z1 with this line code...."""
}
Thanks and Regards,
MD.
Request clarification before answering.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.