scottvonduhn
10/17/2024, 7:16 PMjen
10/17/2024, 8:21 PMjen
10/17/2024, 8:21 PM// Bring up list of all Workflows. Exclude those from bundles, and inactive WFs.
// Export, make array of all ids. E.g. var wfids = [1, 2, 3];
// Then, run this script in browser console while logged into NetSuite.
// Replace this with your list of ids.
let wfids = [1, 2, 3];
// Replace this with your NS account id.
let accountid = 12345;
for(var i = 0; i < wfids.length; i++) {
let link = document.createElement("a");
link.href = 'https://' + account_id + '.<http://app.netsuite.com/app/suiteapp/devframework/xml/xmlexport.nl?&recordtype=workflow&id=|app.netsuite.com/app/suiteapp/devframework/xml/xmlexport.nl?&recordtype=workflow&id=>' + wfids[i];
link.target = '_blank';
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
console.log('downloading ' + link.href);
}
jen
10/17/2024, 8:21 PMscottvonduhn
10/18/2024, 2:12 PMjen
10/18/2024, 3:45 PMmichoel
10/21/2024, 4:32 AMscottvonduhn
10/21/2024, 3:32 PM