You need to sign in to do that
Don't have an account?
Arthur Almeida
Einstein Bot - why cannot i use two action apex
I have this process:
My Welcome, when the process starts, there is an action that calls an apex to generate, save and return the user id to the bot. Then, the user enters the product name, and creates a collection of intentions and works.
My welcome:
But if the bot gets confused, there is a rule, in which the user can try to enter the product name 3 times. For this logic we have a handle called apex.
My confused:
But, for some reason, this second action does not work, only the first, in My Welcome. Why doesn't my second action, in confuse, work?
If I take my first action, and put a false idUser value, it works.
Why, when I put two actions in my process, the bot break?
Here is my log:
Watch this, after transfer to confused, he doesn't invokes my apex, he redirect to Error Handling.
Please, help me!
My Welcome, when the process starts, there is an action that calls an apex to generate, save and return the user id to the bot. Then, the user enters the product name, and creates a collection of intentions and works.
My welcome:
But if the bot gets confused, there is a rule, in which the user can try to enter the product name 3 times. For this logic we have a handle called apex.
My confused:
But, for some reason, this second action does not work, only the first, in My Welcome. Why doesn't my second action, in confuse, work?
If I take my first action, and put a false idUser value, it works.
Why, when I put two actions in my process, the bot break?
Here is my log:
Watch this, after transfer to confused, he doesn't invokes my apex, he redirect to Error Handling.
Please, help me!
Best Answer chosen by Arthur Almeida
Arthur Almeida
the problem is because the apex is waiting for an Integer and the bot sends a Number, change all for string/text, and works.