Sidebar

Can I remove or clear data from a table in the System Variable?

0 votes
325 views
asked Jul 27, 2017 by brandon-w-8204 (33,170 points)
edited Jul 27, 2017 by gary-t-8719
I want to clear data from a table in a System Variable. How can I accomplish this?

1 Answer

0 votes

Here code to remove all table data in a system variable:

//Retrieve the Entire table and parse as a CSV message model
csvModel = qie.parseCSVString(qie.getVariable('testVariable1'));
//set variable back with only the csv column names
qie.setVariable('testVariable1', qie.parseCSVString(csvModel.getNode('*[0]'), true, '"', ',', true, 'UTF-8'));

answered Jul 27, 2017 by brandon-w-8204 (33,170 points)
...