I have a requirement where we need to send an order confirmation email to related contacts when the order status is confirmed and two other fields from Product Object satisfies certain value. Need to wait 15 minutes before sending this email. During this wait time, permitted users should be able to cancel the email send from a button implemented in the Order record page. Questions:
- Since I need to add 15 minutes wait after the apex action to check the custom Product field values can'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!