You are viewing limited content. For full access, please sign in.

Question

Question

Workflow date/time

asked on May 15, 2017

Hi all,

Is it possible to trigger an email that is eg:  4 hours after the time that was entered into a form field:- date/time using a sequence flow Condition?

Or is there another way it could be done?

Regards

Shane

 

 

0 0

Answer

SELECTED ANSWER
replied on May 25, 2017 Show version history

The timer event itself doesn't support this. What you can do is, add another datetime(such as datetime2) field on the form, and use it to calculate the exact time the email need to be sent out based on datetime(such as datetime1) user select the and value selected in the dropdown, and use the datetime2 in the timer catch event to wait based on 0 days after datetime2. Following is how to setup these fields and the calculation.

 

 

 

The calculation configured is "=Datetime1+IF(Drop_down_1=1,TIME(1,0,0),IF(Drop_down_1=2,TIME(2,0,0),IF(Drop_down_1=4,TIME(4,0,0),IF(Drop_down_1=8,TIME(8,0,0),IF(Drop_down_1=336,DAY(14),TIME(0,0,0))))))".

 

You can use field rule to hide datetime2 always if you don't want user to see that field, it will just be used to store the value:

2 0

Replies

replied on May 16, 2017 Show version history

You can add two timers to archive it:

1. Timer catch event 1: wait based on variable 0 days after variable specified

2. Timer catch event 2: wait for 4 hours

Following are the screenshots for the sample:

0 0
replied on May 25, 2017

Great, thank you.

Is it possible to set time that it is overdue from a time set in a form?

Eg:

They want to Choose 1 of these times 1hr / 2hr / 4hr / 8hr or 14days

So in the form they set the time 12:30pm and the drop down a field and choose one of the above such as 2hr then they would be notified at 2:30pm 

 

Regards

Shane

0 0
SELECTED ANSWER
replied on May 25, 2017 Show version history

The timer event itself doesn't support this. What you can do is, add another datetime(such as datetime2) field on the form, and use it to calculate the exact time the email need to be sent out based on datetime(such as datetime1) user select the and value selected in the dropdown, and use the datetime2 in the timer catch event to wait based on 0 days after datetime2. Following is how to setup these fields and the calculation.

 

 

 

The calculation configured is "=Datetime1+IF(Drop_down_1=1,TIME(1,0,0),IF(Drop_down_1=2,TIME(2,0,0),IF(Drop_down_1=4,TIME(4,0,0),IF(Drop_down_1=8,TIME(8,0,0),IF(Drop_down_1=336,DAY(14),TIME(0,0,0))))))".

 

You can use field rule to hide datetime2 always if you don't want user to see that field, it will just be used to store the value:

2 0
replied on May 25, 2017

That's it!!!

Perfect, thank you very much Xiuhong

 

Regards

Shane

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.