Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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 (1)
  • v7.x

0 Replies