R12.1-JA-2025June05
Use Task Variables in Intent Definition
Once task variables are defined, you can use and assign values for them in the intent definition.
- On the Task Variable tab, click Select Task Variables.
- You can select the required task variables based on group in the Select Task Variables dialog.
Note: Only the task variables selected on the Task Variables tab can be used in intent diagnosis. And such task variables can be called in home intent and all its follow-up intents where the variables are used. - Click OK after selecting the task variables.
- In the Define Diagnosis tab, the selected task variables are displayed for you to use.
- (Optional) You can add Set Variable logic to assign value for the selected task variables.
- Add Set Variable logic.
- Select a task variable and assign value for it.
- Add Set Variable logic.
Where Can Task Variable Be Used
The task variable can be used in:
- Diagnosis Condition
- Diagnosis Message/Status Code
- Inline Expression
- Webhook
- Set Intent Variable
- CSV Report
- Intent Data View
- Follow-up NIT