Closed Hesham-Salama closed 1 month ago
There is a block in contact survey module (your connect dashboard page-> flows -> modules) which has survey_result_$.Attributes.loopCounter
set to $.StoredCustomerInput
For some reason the value in that variable is always empty ''. To fix it I had to replace $.StoredCustomerInput
with lex's intent name as shown below.
Now the dynamoDB table gets the correct customer's inputs and it's reflected in the survey dashboard.
How to reproduce:
The bot asks the two questions then it ends successfully but after checking the survey dashboard it says all scores are 0.
And when checking the dynamodb table
Production-surveys-results
the values are empty.