I use a CloudCode task to run a script on our internal servers, which is called from a webhook.
This script is dependent on the environment, so I am wondering if it is possible to obtain the current environment from either the app and pass it to the CloudCode task, or directly from the CloudCode task, so I may pass it along to the script on our internal servers.
Thanks for the info. I currently define the app name in my CC task, so it really isn’t a problem.
I just use the same CC script in each app, so a dynamic app name would leave one less thing I would have to remember to change when copying to another app.
The environment thing is the big one, though, so thank you very much for that.