Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Launching service case does not call configured JavaScript event

SA-62453

Summary



On launching a service case as mashup and clicking  the Cancel button, the mashup screen closes without any other event and does not call the configured JavaScript event function.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Create a mashup script
  2. Configure on close function in mashup script as below:
    data-pega-event-onclose = "mycustomFunction" 
  3. Call mashup script in a modal window
    

Root Cause



A defect in Pegasystems’ code or rules.


Resolution

Perform the following local-change:

Add the below statements next to the pzIncludeMashupScripts tag:


  try{
    pega.Mashup.Communicator.register( pega.Mashup.hostActionsProcessor);
  }catch(e){}




Published October 30, 2018 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us