If
The 'If' Activity allows you to check the data is valid, invalid, less than, more than, etc. using the conditions. If the Property matched the conditions then it will execute the THEN button activities else it will execute the ELSE button activities.
TIP
Use this activity to check for interaction data from your IVR.
After adding the 'If' activity, Configure the activity details
Field |
Description |
Property |
Data to be checked |
Enter value |
The value to be checked with the Property data. |
Condition |
Condition to be performed on the Property.
|
A Simple Example to configure the 'If' activity in PopFlow Studio.
In this example, we are fetching the value from HTTPS activity. Assuming that the results return a collection, we are iterating it in ForEach activity. To configure these activities you can refer the documents for 'HTTPS' and 'ForEach' activity.
Once the configuration is completed for 'Https' and 'ForEach' activity. Add the 'If' activity as shown below.
Value is a reserved variable when it is used in a loop like for each for every row. In this case value has the row and id is the column.
TIP
All properties are referenced in lowercase. ie {value.id}
With Additional Conditions you can select 'AND' or 'OR' option.