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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Byte[] in context

Hi;
Is it possible to pass byte[] variables between subjobs using context.. Or is there a different way to do it.. Converting it to string than back to byte[] does not produce the same byte[] value.. 0683p000009MPcz.png
I will be running the subjob using iterate (parallel) so i have to pass that byte[] value..
Regards
Fatih Kutlay
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi
Define a context variable with object type, for example:
String foo = "bar";
byte [] b=foo.getBytes();
context.new1=b;
byte [] b1=(byte []) context.new1;
Best regards
Shong