1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
461 views
by brandon-w-8204 (34.1k points)
edited 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'));

by brandon-w-8204 (34.1k points)
...