![]() |
Getting startedDocumentation |
Tips > Use TimersTimers can be very beneficial when you want to ensure the execution of an action.For example the sender action could fail becuase the SMPP connection to the SMSC is down, while some actions can be configured to retry several times, other actions donot have such feature, and here comes the use of the timer, consider this scenario: you created a scenario where your customer requests certain information about his account, you create a SQL action to read the requested information, and a sender action to send it back to the customer:
This is striaghtforward and very simple, the downside is that the sender action could fail, say the connecttion to the SMPP was down! A better approach to ensure the sending of the reply is to create two actions groups:
to limit the an action to group to a certain service or timer you can set the expression of th action group to: ${SERVICE} = 'MyService' ${SERVICE} = 'Mytimer' This migh be a little more complex but it comes with the value of not ensuring the sending of the messages More optimization can be done to read and send messages in batches
|
|