Cancel save event based on condition
Summary
Cancel save event based on conditionContent
Hi everyone,
I am trying to cancel Save event when user click on save button in Incident workspace. For this I have created one BUI extension, and it is working fine but problem is when I am trying to execute "parameter.getCurrentEvent().cancel(); " it is showing "unavailable". I think I know why it is unavailable,because I am executing inside callback and in call, parameter(from workspace) is not available. show I tried to execute from outsite of callback, that will also not work. then using settimeout that is also not working. I think I am missing something here, pls help me to find out that.
Tagged:
0