Hello,
I have noticed a weird behavior in my application.
This is how my workflow looks like. I need to send as many messages as is defined in a specific variable.
- Set states Iteration - every iteration this state is incremented by 1
- Set states LessonDescription - I am searching for the specific item in table and retrieve the item when the index is equal to the iteration state number.
- Execute the API Connector endpoint and returning the result to the LessonsPushed state.
4 Creating new thing for the database. - Set state for new SendDate state.
- Run iteration again.
- Finish looping.
The problem is that the API Connnector endpoint is executing on the second step and also on the third step. I am thinking about this for three days and I can’t find a solution. What I found is that the “/version-test/elasticsearch/msearch” endpoint is executing (by bubble, not from API Connector) when the workflow executes the second step. As a result of this endpoint, there are values that are returning from the “Search for item” action.
Can someone tell me what is going on here? I have no idea why the API Connector endpoint is executing when I am doing the “Search for item”. Is it a bug or I don’t know something? I am not using anything that will execute the API Connector endpoint in this “Do a search for” action.
Best Regards,
Mateusz