Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
MattiaMi89
Contributor
Contributor

Input Records in Processor with input other than String

I'm developing a Custom Component (a processor) that has as input a Record:

 

Record is really simple it has two fields:

 

KEY: type String

VALUE: taype Arraylist<String>

 

To test this component I set a simple tJavaFlex component that generate 1 row the is connected to my custom component

 

bellow an extract of the code of the tJavaFlex

 

row.KEY="key";

ArrayList<String> data = new ArrayList<>();

data.add("1");

data.add("2");

row.VALUE=data;

 

Alas, when  I run the job, my component recevices a Record that contains the KEY only, the VALUE field seems to disapper.

The first action in my @ElementListener method is printing (on sysout) the record and its schema and I can't see VALUE nor in record neither in schema.

 

Labels (2)
0 Replies