@ptt-bds Cho những thứ bạn muốn thực hiện khi ALL PROJECT lỗi, ví dụ như ghi ra log, ghi ra tệp, gửi thông báo, quay lại bước nào đó...
Vì khi một trong những hành động trong ALL PROJECT lỗi nó sẽ nhảy xuống chỗ này.
Repeat get request
-
What do you need?
-
let data = {
arr: Array.from({ length: 10 }, () => Math.floor(Math.random() * 100)),
str: randomStr(20),
obj: {
foo: 'bar',
num: 42,
nested: {
a: 'b',
c: 'd'
}
}
};function recursiveTraversal(obj, depth = 0) { if (typeof obj !== 'object' || obj === null) return; for (const key in obj) { console.log(' '.repeat(depth) + key + ':', obj[key]); recursiveTraversal(obj[key], depth + 1); } } -
@isaacjaco49111 I have a get request I am doing and it returns as pending until the api is ready and once the api is ready it returns a success in the get results data. Trying to figure out how to loop the get request to continue running until it returns a success.
-
yes the code is supplied
-
@genericname1 thank you. Is this inputted via a script task immediately after my get request? Sorry very new to BAS.