I have a requirement where we need to send an order confirmation mailemail to related contactcontacts when the order status is confirmed and two other fields from Product objectObject satisfies certain value. Need to wait 15 minutes before sending this mailemail. During this wait time, permitted users should be able to cancel the mailemail send from a button implemented in the orderOrder record page. Questions:
- Since I need to add 15 minutes wait after the apex action to check the custom Product field values cantcan't go with the scheduled path, is there any other way for this
- The button to cancel the email send should disappear after 15 minute wait time - how can I implement this.
Thanks in advance!