How to close similar order tasks based on matching short description

Nishant26
Tera Contributor

Hi All,

 

I have a requirement where I need to provide a "prompt" when the user closes the order task through UI 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!

 

2 REPLIES 2

AnveshKumar M
Tera Sage
Tera Sage

Hi @Nishant26 ,

The possible solution is in your UI Action button script, when an user clicks the button you should display a Glide Modal using an UI Page where you can display all these options.

 

Let me know if you need more help.

 

Please mark my answer helpful and accept as solution if it helped you 👍

Thanks,
Anvesh

Hi Anvesh,

 

Can you please help with the script involved for the same.

 

Thanks!