How to get execution ID in the node before finishing the execution

Hey @Viniciusmq107,

Give this a go: JavaScript Code Snippets | Docs

Edit: that is workflow id not execution so may not be what you are after, could be on the right track though.

Another edit: looking at this it may not be possible: How to get current execution ID in the node - #3 by Talha_Khan