You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Cancel save event based on condition

Accepted answer
40
Views
4
Comments
edited Mar 29, 2019 10:35AM in UI Extensibility 4 comments

Summary

Cancel save event based on condition

Content

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. 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!