109
Views
4
Comments
How to trigger the process after user push the button 5 hours.
Application Type
Traditional Web

I had a requirement to send the email alert to user after their submit the form to us around 5 hours.

So I think i can used process to handle this request but I don't know how to do that or which tool or function which it can do for this requirement.


Regards

2018-10-29 08-31-03
João Marques
 
MVP

Hi Chanyut,


Indeed you can do that with a BPT, by saving the time the user submitted the form and scheduling the sending of the email 5 hours after that time.

I suggest you to watch the Building Your First Business Process course, where BPTs are explained from beginning to end, with demos and exercises. You will need to use a Wait activity which is explained on the Pausing a Process section:


Kind Regards,
João

2020-11-25 10-45-32
Mostafa Othman
Champion

Hi Chanyut,

I may suggest to save time of sending email and any identifier to this email and also you may add boolean flag to identify if email sent or not to one entity then you can create timer which run every 30 minutes or one hour once timer triggered it will select from this entity all records with sending date time less than or equal currDateTime() and sending flag is false then start sending emails based on returned list from this entity and once email sent you can update sending flag to true.


Also you can use process with wait process activity to wait number of hours you want. you can read and learn more about wait activity from here

2022-12-09 04-50-17
Shubham Doshi

Hello Chanyut Luesiripanit,

Create a process similar as below: 

Set the timeout of wait activity after 5 hours. After timeout add Automatic activity with the Email server action from which email will be triggered automatically as below: 


Hope this helps you :)

UserImage.jpg
Chanyut Luesiripanit

Thank you all, I will doing as your suggestion.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.