on 2022 Jan 11 6:57 AM
Hello,
I'm checking with Dynamic passing Data one function to another function and also I try to call one GLOBAL step function in to a another function loop , like normal Java Script . there is any way to call the GLOBAL step in to a another step or else give some suggestion to understand this.
Thanks,
Narenthiran Annamalai.
Request clarification before answering.
narenthiran.a
Do you want to achieve this req in Cloud studio or Desktop Studio?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To achieve this in Desktop Studio, please check the code below.
To achieve it in Cloud Studio, you need to do it with Sub automations. In future releases ,a new feature will be released to support the same.
GLOBAL.myFunction = function test(param){
ctx.log(param);
}
GLOBAL.events.START.on(function(ev) {
for (var index = 0; index < 30; index++) {
GLOBAL.myFunction(index);
}
});
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.