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

SuppressForegroundWindows property does not work

SA-97711

Summary



Robotic Desktop Automation (RDA) BOT works on the below applications:
  • Amisys: This is a web application. The BOT launches and closes 4-5 screens in Amisys to extract data for every transaction using the web Adapter.
  • Macess: This is a Windows application. The BOT launches a child form and copies the above data on it for every transaction using the Windows Adapter.
Though the 'SuppressForegroundWindows' property of both the adapters is set to 'True', the child windows launched from both Amisys and Macess are launched in the foreground (on the top) and are in focus. This in disrupts the user's activity.


Error Messages



Not Applicable


Steps to Reproduce

  1. Set the SuppressForegroundWindows to true.
  2. Run the automation.


Root Cause



An issue in the custom application code or rules.


Resolution



Here's the explanation for the reported behavior:

Amisys is a web application. It opens windows which are modal dialog windows. By design, the modal dialog windows belong to the Desktop window and not to the Internet Explorer window or the document. Therefore, SuppressForeground property does not work.

Published April 1, 2020 - 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