puneetfred
asked on
Status not updated in a field and error not repeatable
Now, i have to find a possible cause of error for the following piece of code:
@If(CMRStatus = "Business Input/Review Required" & CurrentStatus != CMRStatus; @Do(@MailSend(CreatedBy; ""; ""; "CR #" + CMRNo + " requires some additional Business Input/Review in the FS Destination database" ; "" ; "This change request for the " + Project +
" project is either ready for your review or requires your additional input. Follow this link for further details" +" ==> "; [IncludeDoclink]);
@SetField("CurrentStatus"; CMRStatus); @PostedCommand([FileSave]) );
CMRStatus = "Business Review Complete" & CurrentStatus != CMRStatus;
@Do(@MailSend("Rabinder X Kaur"; ""; ""; "CR #" + CMRNo + " has been updated by Business in the FS Destination database" ; "" ;
"This change request for the " + Project + " project has been updated by Business. Follow this link for further details" +" ==> "; [IncludeDoclink]);
@SetField("CurrentStatus"; CMRStatus); @PostedCommand([FileSave]) );
CMRStatus = "Complete" & CurrentStatus != CMRStatus; @Do(@MailSend("Rabinder X Kaur"; ""; ""; "CR #" + CMRNo + " has been completed in the
FS Destination database" ; "" ; "This change request for the " + Project + " project has been completed. Follow this link for further details" +" ==> "; [IncludeDoclink]);
@SetField("CurrentStatus"; CMRStatus); @PostedCommand([FileSave]) );"");
@PostedCommand([FileCloseW indow])
I tried recreating the error but i dont get it. therefore, it may have occured because-
1) if there are any replicas- the changes did not get replicated.
2) someone changed the status back to Build.
3) dont know!!!
Error as observed was:
I got this automated message that says this request has been completed, but when I go to the database, it is still listed in build with no comments.
@If(CMRStatus = "Business Input/Review Required" & CurrentStatus != CMRStatus; @Do(@MailSend(CreatedBy; ""; ""; "CR #" + CMRNo + " requires some additional Business Input/Review in the FS Destination database" ; "" ; "This change request for the " + Project +
" project is either ready for your review or requires your additional input. Follow this link for further details" +" ==> "; [IncludeDoclink]);
@SetField("CurrentStatus";
CMRStatus = "Business Review Complete" & CurrentStatus != CMRStatus;
@Do(@MailSend("Rabinder X Kaur"; ""; ""; "CR #" + CMRNo + " has been updated by Business in the FS Destination database" ; "" ;
"This change request for the " + Project + " project has been updated by Business. Follow this link for further details" +" ==> "; [IncludeDoclink]);
@SetField("CurrentStatus";
CMRStatus = "Complete" & CurrentStatus != CMRStatus; @Do(@MailSend("Rabinder X Kaur"; ""; ""; "CR #" + CMRNo + " has been completed in the
FS Destination database" ; "" ; "This change request for the " + Project + " project has been completed. Follow this link for further details" +" ==> "; [IncludeDoclink]);
@SetField("CurrentStatus";
@PostedCommand([FileCloseW
I tried recreating the error but i dont get it. therefore, it may have occured because-
1) if there are any replicas- the changes did not get replicated.
2) someone changed the status back to Build.
3) dont know!!!
Error as observed was:
I got this automated message that says this request has been completed, but when I go to the database, it is still listed in build with no comments.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.