kevinmain Posted April 20, 2012 Share Posted April 20, 2012 HelloI've only been using Jaspersoft for a few days.I'd like to call another Job using tRunJob.I am passing in a List of Table Names and am using tContextLoad to create a varibale called TableName.I have an extraxct job defined for each table and wish to call that Job when it appears in the List of names being passed in.Unfortunately the "Job" attribute of tRunJob does not allow Manual entry.Is there any easy way to override this and set the name of the Job to be called dynamically by evaluating TableName ?If I could get "Job" to evaluate "(String)((String)context.getProperty("TableName"))" then that would be great. Link to comment Share on other sites More sharing options...
agharti81 Posted June 15, 2012 Share Posted June 15, 2012 Which version of JETL are you currently using?In the last one you should find a "context job" space in which you can insert a variable, like context.jobName or (String)globalMap.get("jobName"). Hope this can help Link to comment Share on other sites More sharing options...
agharti81 Posted June 15, 2012 Share Posted June 15, 2012 oh, Only version 5.x will have this functionality. Up to now you cannot have a dynamic job defined. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now