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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] output parameter of tRunJob

Is the jasperETL job has got the feature of returning value?
The jasperETL job that I created contains many subjobs. All the subjobs takes only input parameter and does not return any thing as I did not get that feature available. This makes repeatation of creating similar subjobs.
Can anybody let me know about the output parameter of jasperETL job.
HELP!
Thanks and Regards,
Pravu Mishra.
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello
Does the tBufferOutput component fit your need?
Please download the user documentation and learn its usage.
Best regards
shong

View solution in original post

7 Replies
Anonymous
Not applicable
Author

Hello
Does the tBufferOutput component fit your need?
Please download the user documentation and learn its usage.
Best regards
shong
Anonymous
Not applicable
Author

Thanks for your reply.
I am calling another job from the main job by using tRunJob component and passing input parameters to the called job. These parameters gets used by the called job. I need the called job to return value and use that value in the main job.
Example : Job A calls Job B and passes some input value throuth context variable named like "context.val". This value passed using "context.val" gets used by the the B job.
I need the job B to return some value that I can use in job A.
It's some thing like the return value of a method or function in programming languages.
Is there a way to get the return value of B job.

Thanks and Regards,
Pravu Mishra.
Anonymous
Not applicable
Author

Hello
Yes, it can be finished by tBufferOutput component, please see the screenshot.
Best regards
shong
0683p000009MCUG.png 0683p000009MCcK.png 0683p000009MCiu.png 0683p000009MC9c.png 0683p000009MCiz.png 0683p000009MCj4.png 0683p000009MCj9.png 0683p000009MCaI.png
Anonymous
Not applicable
Author

Thanks shong.
With warm regards,
Pravu Mishra.
Anonymous
Not applicable
Author

if we add any component before trunJob (tJava in my case), it no longers returns response back to parent job. Could you please help resolving the issue.

 

My job is as below:

 

 


test.PNG
Anonymous
Not applicable
Author

Hello,

Please use the connector"OnsubjobOk" between tjava and trunjob component.

Best regards

Sabrina

Anonymous
Not applicable
Author

Thanks Sabrina,

My issue got resolved by using tFlowToIterate between tJavaRow and tRunJob component.


@xdshi wrote:

Hello,

Please use the connector"OnsubjobOk" between tjava and trunjob component.

Best regards

Sabrina