Hello,
I have an activity that has one ServerMail event. I want the flow to wait at that activity and only evaluate the line rule once I set a value to a Process datafield.
I want the flow to continue once I set a value to a process datafield.
Right now the flow is getting completed after that activity as the line rule is evaluated based on the process datafield that's not been set yet and it is evaluating it to false and completing the flow after that activity. But that's not what I want...I just want it to wait there and proceed only when I set the process datafield value.
Please help me in this!
Thanks
Page 1 / 1
Hi Basani,
If I understand correctly you want to wait after sending the Server mail?
What you need to do is the following:
1. Add another activity after the Server Mail activity. In this activity you can have an empty Server Event. (Because without any event the process will not compile.)
2. From this activity you will have two lines (excluding the line coming into the activity).
The one line must flow back to the same activity. Set the line rule to evalaute to true in the event that the ProcessData field is empty.
The other line will be the one that should be followed when the datafield was set and the rest of the process continues. This line rule should be configured to evaluate to true in the event that the datafield is not empty.
I would suggest you put a Start rule on the activity so that the activity does not execute and check the datafield the whole time. Only check the value of the datafield at intervals.
Hope this helps.
If I understand correctly you want to wait after sending the Server mail?
What you need to do is the following:
1. Add another activity after the Server Mail activity. In this activity you can have an empty Server Event. (Because without any event the process will not compile.)
2. From this activity you will have two lines (excluding the line coming into the activity).
The one line must flow back to the same activity. Set the line rule to evalaute to true in the event that the ProcessData field is empty.
The other line will be the one that should be followed when the datafield was set and the rest of the process continues. This line rule should be configured to evaluate to true in the event that the datafield is not empty.
I would suggest you put a Start rule on the activity so that the activity does not execute and check the datafield the whole time. Only check the value of the datafield at intervals.
Hope this helps.
test
Hi Conradk2,
Thanks so much for your reply!
In the start rule I have three options. Can I use those to achieve the above?
How do I make it check the value at inetrvals?
Thanks so much for your reply!
Conradk2:
I would suggest you put a Start rule on the activity so that the activity does not execute and check the datafield the whole time. Only check the value of the datafield at intervals.
In the start rule I have three options. Can I use those to achieve the above?
How do I make it check the value at inetrvals?
There is an option on the activity properties GUI that lets you delay the start of the activity
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.