How to reliably generate a random UUID within eventing without the crypto module?

Hi! I am trying to generate a unique uuid within the eventing script in order to create a ‘traceparent’ header as per the w3 standard. I tried using the Crypto module from Javascript but the environment does not support it. Are there other ways please?

You can either run a SQL query like SELECT UUID() or use the curl function to call a dedicated service.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.