Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
We are trying to capture the Plan Name that we define in Talend Management Console & pass it as a variable at task (job) level
Created a plan as below, but its not capturing the Plan Name against the variable as seen in 2nd screenshot
please help us resolve
If I understand your question, you should be able to retrieve all of this info using the api swagger info. You can see the specification here....
https://api.us.cloud.talend.com/tmc/swagger/swagger-ui.html
Please note the URL (I am using the "US" version). You may be using a different version (possible "EU" for example). I used the "plans :: executables" calls to get this sort of data.
@Richard Hall thanks for a quick reply, but API swagger is not something we are looking for, we were looking for a solution between Talend management console & studio, We initially referred to this document
https://help.talend.com/r/en-US/Cloud/remote-engine-user-guide-linux/context-parameters
& enabled the plan variables at TRE level
passed them as blank variable via studio job
unable to capture them at runtime, request to help here
I'm afraid you will need to simplify what it is you are looking to do. You saying you want to pass the Plan Name. This can certainly be obtained with a Talend Studio job using a rest call and the API I pointed you to. You can find out anything you need from the TMC within a Talend job running outside of TMC or with TMC by making a rest call. But I suspect that maybe this is closer to what you are looking for....
https://help.talend.com/r/en-US/Cloud/studio-user-guide-data-integration/task-parameters
Thank you for your response; nevertheless, we need the plan name to be stored in a variable without the use of a rest call or API swagger.
We've set up the flow execution variables post referring to link shared above, however they just provide task-level information and nothing about the plan.
Please advise if there is another way to capture the plan name.
I'm afraid the flow_ parameters will only point to task information. The only way you have of achieving this for plan info is by using the API. What is the concern about making an API call to retrieve this information? Maybe I can help? I use API calls within my jobs to pass information between jobs that are running and to start TMC jobs running dynamically. It is a really useful bit of functionality to master.
Could you please explain how activating task variables in TRE (remote engine) as described in this document works ,
https://help.talend.com/r/en-US/Cloud/remote-engine-user-guide-linux/context-parameters
and if it can be used to fetch details at the task/job level?
Hi @Ansie Jacob ,
I think we have got to a point where it would be easier for you to raise this as a support case. We are approaching an area where it is so much quicker and easier to take a look at your current configuration....which we can't do via the Community. However, thank you for coming via this route. This discussion will certainly provide answers and clarifications to some other users who are seeking similar information.