Create a popup window for UI Action button to close similar tasks with matching Short Description

Nishant26
Tera Contributor

Hi All,

 

I have a requirement where I need to provide a "prompt"/"Popup" Window when the user closes the order task through UI Action Button on the form, below are the requirements details.

 

1. If there are multiple Order Tasks with same "short description" associated with a Customer Order, when the user close complete one of those tasks, then I need to display the following options to the user.

a. Close All Similar Order Tasks

b. Close This One Order Tasks

c. Cancel

 

1(a) If the user selects "close all similar Order Tasks" THEN it should close all similar Order Tasks.

 

1(b) If the user selects “Close Just This Order Task” then it should close only that task.

 

1(c) If the user selects “Cancel” THEN remove the display and take the user back to how the screen previously was.

 

Please let me know how to proceed further.

 

Thanks!

13 REPLIES 13

Hi Anvesh,

 

I have included var in line 4, now I am getting this popup after clicking on UI Action button.

 

Nishant26_0-1696497923348.png

 

Hi @Nishant26 

Have you created the UI Page with the name as order_task_close_confirm_form or a different name. In line 4 you need to pass the name of your UI Page.

Thanks,
Anvesh

Hi Anvesh,

 

Yes, I have passed the name of the UI page in line 4 but still getting the same popup window.

 

Thanks.

Hi Anvesh, 

 

I changed the name of the UI page in line 4 with UI page Endpoint name, now I am able to see the popup window but close and close all functionality is not working. Cancel is working fine.

 

Nishant26_0-1696511242296.png

 

 

Thanks.