You need to sign in to do that
Don't have an account?
Jyosi jyosi
Validation Rule Help on Case status
Hello Everyone,
I was having hard time to build the Valiadtion rule on Case status field.
User creates a record with status "New and they save records and again they can come over and change the status to Ready" from interface the fields get updated to "Sent" once the status has values sent i am not supposed to allow the user to chnage the status values from case deatil page
Thanks
Regards,
Jyo
I was having hard time to build the Valiadtion rule on Case status field.
User creates a record with status "New and they save records and again they can come over and change the status to Ready" from interface the fields get updated to "Sent" once the status has values sent i am not supposed to allow the user to chnage the status values from case deatil page
Thanks
Regards,
Jyo
I think this will work for you. Let me know if this helps.
If this is the case, you can create a flag in the code-isStatusChangedFromCode, set it to true if any functionality in the code updates the Status. So this flag will be false if a user tries to update the status from the Case Detail page. The same flag can be used in the validation rule (that can be written in the code) to track whether the Case update request came from Apex or UI.
But this solution only works if all the Status update logics are written in the code. If there is any workflow rule that updates Case Status, you might have to figure out something else.
Thanks.