Pete K 5/25/2021 | |
Try this: If (values["ProjectStauts"].ToString() == "ABCDEF") { |
Pete K 5/25/2021 | |
And for the second one: if ( oldvalues["ProjectStauts"].ToString() != "ABCDEF" && values["ProjectStauts"].ToString() == "ABCDEF") |
D
|
DebZ author 5/25/2021 |
Thank you for both of those, I will try them tomorrow when I can kick folks out of the system. :) Very much appreciated. Fam |
D
|
DebZ author 5/27/2021 |
It didn't work but I know you must be close. XVar retbb = MVCFunctions.runner_mail(new XVar("to", emailbb, "subject", subjectbb, "body", msg.ToString(), "from", from)); But, when I wrap the check for the status condition, it will not compile. The error is that a ; is expected. Which makes no sense as the If command should not require one right? Here is the code that wont compile. (All the variables are declared elsewhere and like I said the e-mail settings above work fine without the If statement on the check.) If (values["Status"].ToString() == "Awarded") |
admin 5/27/2021 | |
Show us the complete code of this event and also the complete error message. This code alone looks correct. Also instead of "If" use "if" |
D
|
DebZ author 6/9/2021 |
Sorry this took so long to get back to. I wasn't able to work on this project until today. Thank you so much! |