Hi,
I am facing issue with random value generation.
Details: Integration is triggered by an event when file is created in fusion system. so multiple times file will created and multiple time integration will triggered. so here I am using below logic to give some gap across integration instances to execute a logic inside integration , but random value generating function is generating duplicate values so two instances running at same time. so in order to avoid that could you please give me suggestion to generate random value without duplicate.
function randomIntFromInterval(60, 90) { // min and max included
return Math.floor(Math.random() * (max - min + 1) + min);
}
Thanks,
Suresh