You need to sign in to do that
Don't have an account?
Pedro Garcia G
Case conditional status
Hi...
Our student service department processes the student request through cases.
There are some requests that a payment is required. So, we associate Case with Order. One case can have one or more than one Orders.
REQUIREMENT:
The Case can only be closed when the Order(s) status is "Activated"
QUESTION:
How can we aware of the user when she/he tries to close the Case that the Order(s) is not Activated yet?
We're thinking to develop the Case validation in the Trigger event (before update). How could we launch a pop up from the Trigger?
Thanks,
Pedro
Our student service department processes the student request through cases.
There are some requests that a payment is required. So, we associate Case with Order. One case can have one or more than one Orders.
REQUIREMENT:
The Case can only be closed when the Order(s) status is "Activated"
QUESTION:
How can we aware of the user when she/he tries to close the Case that the Order(s) is not Activated yet?
We're thinking to develop the Case validation in the Trigger event (before update). How could we launch a pop up from the Trigger?
Thanks,
Pedro
Forgot to add the colons for the IN :Trigger.New portion of the code so it probably would have been erroring out.
All Answers
I don't have your object names so this is just spitballing but you could do something like this
If this helps please mark as best answer to help keep the community clean!
Regards,
Tyler
Forgot to add the colons for the IN :Trigger.New portion of the code so it probably would have been erroring out.