SpringboardThis topic is related to Springboard. | Form BuilderSystem Manager / DevOps | Retail DAO 3.0 This feature was updated in Retail DAO 3.0. | SMB DAO 1.0 This feature was introduced in SMB DAO 1.0.
Manager allows you to implement the Nurture Email services, which sens emails to remind applicants to come back and complete saved application. The Springboard Solutions use this service.
To configure the Nurture Email service:
import com.avoka.tm.query.*
import com.avoka.tm.svc.TxnUpdater
import com.avoka.tm.vo.*
import com.avoka.tm.svc.*
import com.avoka.tm.http.*
import groovy.json.JsonOutput
import groovy.json.JsonSlurper
import com.avoka.tm.util.Path
Calendar cal = Calendar.getInstance()
cal.set(Calendar.HOUR_OF_DAY, 0)
cal.set(Calendar.MINUTE, 0)
cal.set(Calendar.SECOND, 0)
cal.set(Calendar.MILLISECOND, 0)
cal.add(Calendar.DAY_OF_YEAR, - 30) // transaction in the last 30 days
Date dateWithoutTime = cal.getTime()
String formCode = "usdao"
List<Txn> txns = new TxnQuery()
.setFetchLimit(300)
.setFormCode(formCode)
.addOrderByDesc("id")
.setFormStatus("Saved")
.setStartDate(dateWithoutTime)
.setTime(TxnQuery.Time.USER_LAST_MODIFIED)
.hasNoProperty("saveEmailError")
.hasProperty("reminderCount")
.withPropertyMap()
.listValues()
txns.forEach {txn ->
println ("TrackingCode/reminderCount:" + txn.trackingCode + "/ " + txn.propertyMap.get("reminderCount"))
}
formDataMap
.For the detailed service specification, contact your customer support team.
Next, learn more about other services used by the Springboard Solutions.