- My goal: Be able to call a
trigger()method in a query by passing additional parameters - Issue: The trigger function doesn't seem to exist in the query element
- Steps I've taken to troubleshoot: I tried several ways, and also researched on the community. I can see many examples of using the query.trigger() function but all of them are in the past, so maybe some behaviour changed or something was added that we need to configure in the query to allow that function.
1 Like
Hey @Juan_Ignacio_Garzon,
I doubt/hope anything changed on this, as thousands of apps would be suffering tremendously if that were the case, seems more like a bug for your concrete situation/app.
Are you able to share more about:
1- Your query, is it a js query, a transformer or a script in a component?
2- Can you share your query's code
3- Are you seeing anything in the console coming up?
I found the issue: I was using a Transformer instead of a JS Query component for executing that logic. Somehow, the Transformer doesn't access the same methods of an object than a JS block, which makes sense since Transformers don't seem to be able to handle async calls.
1 Like
That's correct. Glad you found the solution!