I've developed 2 simple workflows locally, when a user is enrolled or un enrolled from a course, a Web Service function is triggered.
Locally the Function runs without issue but in loading the workflows into a live instances of Moodle, the workflows always fail on the action step.
The error is saying that "Web service is not available. The session has been logged out or has expired." and if I re-run the instance via the UI it is successful.
Ive tried to leave the default "blank" username so that the default admin runs the function, while also defining a specific user. They both have the same result.
How do I even go about debugging something like this?