How to cancel a case without it being created
I have a requirement not to create a case when the Cancel button is hit and also when closing from the 'X' icon.
I have a Menu with the label "New type_case" and the Action Create Work, which creates the new case for me.
When I click on "New type_case", it creates the new case in the "MTO-170" Tab, to cancel it without leaving it as created, what I am doing now is to delete it by clicking on the "Yes, Cancel" button, in an activity via its pzInskey.
Activity on "Sí, Cancelar" button:
So far there is no problem, what I do is delete the created case, since what I want is to cancel its creation.
The problem is, how do I do the same thing but when closing the Tab from the "X" icon?
This icon comes out of the box and I don't have access to it as in the case of the custom "Yes, Cancel" button.
I have a requirement not to create a case when the Cancel button is hit and also when closing from the 'X' icon.
I have a Menu with the label "New type_case" and the Action Create Work, which creates the new case for me.
When I click on "New type_case", it creates the new case in the "MTO-170" Tab, to cancel it without leaving it as created, what I am doing now is to delete it by clicking on the "Yes, Cancel" button, in an activity via its pzInskey.
Activity on "Sí, Cancelar" button:
So far there is no problem, what I do is delete the created case, since what I want is to cancel its creation.
The problem is, how do I do the same thing but when closing the Tab from the "X" icon?
This icon comes out of the box and I don't have access to it as in the case of the custom "Yes, Cancel" button.
Where can I put that same activity so that it runs when I close it via the "x" icon?
Thank you very much for your time and help.