Check if context variable value (count value from a data view) is greater than 1

  1. Created a view as described in [https://developer.kore.ai/docs/bots/advanced-topics/data-as-a-service/#Service_Call_Table] and I am using an aggregate function to get the count of records. However, the count value is getting converted to datatype ‘date’.

  2. In the service node, I would like to have a conditional flow. When I use the count value from the view which is: {{context.CustomerView.response.body.queryResult[0]._col0}} , it does not seem to work. When I just display the value of {{context.CustomerView.response.body.queryResult[0]._col0}}, it is greater than 1, but the if block is not executed, it always executes the else block.

Hi @kavya.rao,

We are verifying the usecase.
We will update you soon.

Regards,
Yoga Ramya