Dear Community,
I have an app in development that uses Forge Triggers. Yesterday I noticed that these are consequently not getting called in some product instances / environments (where they used to work before). The logs are not of much help, since not even the first statement of the trigger function is being called (which is a log statement).
To test this in a trivial use case, I have taken the product-trigger
app template generated by the Forge CLI, added these two log statements into index.js:run()
:
console.log(event);
console.log(context);
and deployed the resulting app to several Cloud product instances and environments. In some of them, the events are always fired, while in some others, they are not fired at all. Switching the app between the old and the new Node runtime, or tunnelling vs. running the app remotely all do not seem to make a difference.
Has anyone experienced anything similar recently? Has any change been made concerning Product Events and Triggers in Forge in the last few days? Do you have any tips on how to debug this any further, since the trigger function is not even called in the affected environments?
P.s. I am using the latest Forge CLI (7.0.2)