Question
Cour Justice Européenne
Cour Justice Européenne
LU
Cour Justice Européenne
Posted: Jan 8, 2025
Last activity: Jan 23, 2025
Last activity: 23 Jan 2025 8:36 EST
Closed
Solved
Confirmation message
A "PerformClick" method on a button launches saving process.
But before any other interaction with Pega, a confirmation message box is displayed to accept the saving.
So a manual click is required.
How is it possible to avoid this step ?
***Edited by Moderator Rupashree S. to add Capability tags***
To see attachments, please log in.
@JeanChristopheD17042937I am imagining that the dialog from your application is modal and is triggered by the click of the button. If this is the case, then I would handle it as follows.
The PerformClick method in this case is synchronous, meaning it won't complete until the dialog is dismissed. By using the parallel process component, you can have one thread blocked (the PerformClick), while you have another thread handling the dialog and ultimately closing it and freeing up the first thread. The bottom thread from the component is a continuation of the input thread and is used to continue the remaining parts of the automation.
Please let me know if you have any questions or need an example.