Getting requestId from inside a trigger function


I noticed that in the Trigger logs there is a Request ID field. I’d like to include that Request ID in the metadata of an external request I make from inside my scheduled trigger function so that I’m able to correlate that external system to the specific execution of the trigger function that ran. Is there a way to get the Request ID of a function from inside that running function? I checked the context object but wasn’t able to find it there.


Hey @George_Price - Welcome to the community :wave:

I’m currently not aware of any features or workarounds for how this would be possible (i.e. Getting the current requestID whilst the function is running).

You could raise a feedback request and include your use case details so that others could vote for it too.