Hi,
I want to loop a skill, so I created variable "i" and set to 0 and "n" and set to "{{length api_service_response.products.body.value}}" and calling a skill which is having the IF condition that is


but it is not taking n value as integer value, and i am getting the error
so I have changed the condition and calling the same skill but still facing recursion error


Basically i want to use the memory variable "i" in "{{api_service_response.products.body.value.[memory.i].ProductID}}" and print an array of values by recursion, I am getting result as null,
how to do print array values dynamically in CAI, how to change string values to integer values?
you can find the bot here https://cai.tools.sap/kishorech/recursionbot/train/intents
can you help me here
Thanks
Kishore
Request clarification before answering.
Hi Kishore,
please have a look at the newly released "Custom" send message type. You can use scripting to build up the list entries dynamically by looping through the API service response.
Regards
Jonas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.