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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Problem with routine and importing jobs namespace

Hi there,
I'm facing a problem... and i don't understand why... 😕
I've got a custom subroutine using a rowStruct from a job. The subroutine worked but not and I realize that I was doing the import is no longer recognized... and i don't how can i solve it.
Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hi
Right click on the routine name and select 'Edit Routine libraries' item, check that the external jar is there or not.
Shong
Anonymous
Not applicable
Author

Thanks for your response.
Yes sure, but in fact, the problem is not due to an external library...
I'm trying to write a routine with a row as parameter. But the row is not recognized in the routine...
Sebastien
Anonymous
Not applicable
Author

Hi
I don't understand why you need a row as parameter? rowStruct is an inner class in the generated code of a job and can't be recognized out of the job. Just define the input parameters with general data type if you want to access the data of a data flow, for example:
tFileInputDelimited--row1---tJavaRow
on tJavaRow, call a routine like:
String s=MyRoutineName.methodName(input_row.c1 input_row.c2);

//c1, c2 is the column name of row1
Shong