Format String
Combines variables collected by the script into a single string variable. |
You can then use the combined string to do the following, for example:
Display information to an agent in DTA using a Route to Contact action cell
Send an SMS text message using an SMS action cell
Send information to a web service using a Web Service action cell.
Set the variable to hold the result
Enter the string variable to hold the combined string.
Set the format string
Enter any plain text along with any % format specifiers shown below. Each format specifier is a placeholder for any arguments listed in the Set the variable to add to the format list property.
%i |
integer variable |
%s |
string variable |
%[.x]f |
float variable, where .x is an optional precision specifier for rounding the number to x decimal places. |
%d |
a date element |
For example, "Dear %s, your account is overdue by £%.2f. Please pay by the end of %d/%d. We will send a final reminder in %i days."
Set the variable to add to the format list
Use the field and Add button to build the list of arguments to populate the placeholders in the order in which they appear in the format string.
You can reorder the list by dragging and dropping an argument at the location of the black line that appears.
Variable values substituted in the format specifiers might result in, "Dear John, your account is overdue by £100.46. Please pay by the end of 05/2018. We will send a final reminder in 5 days."
Exit point |
Taken |
Complete |
If the format string is built correctly. |
Error |
If an error has occurred. |