Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
In Shopify Flow, when using the action node 'Run Code' (used to run JavaScript), if I try to generate a random float with Math.random(), for some reason it always returns the same float on every single attempt: 0.8549251903236059
Is this a known issue?
Solved! Go to the solution
This is an accepted solution.
See https://help.shopify.com/en/manual/shopify-flow/reference/actions/run-code#limitations
It's blocked on purpose to prevent crypto mining.
This is an accepted solution.
See https://help.shopify.com/en/manual/shopify-flow/reference/actions/run-code#limitations
It's blocked on purpose to prevent crypto mining.
That is unfortunate to hear. Thanks for letting me know Paul
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025