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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ravi999
Contributor III
Contributor III

Artifact Task for DI job in TAC using Metaservlet

Hi , 

 

We need to create 40  tasks in TAC Job conductor. Instead of manually doing it, I see the TAC metaservlet commands where I can create the tasks in TAC using script or API call. But a artifact task is not being created. Is there anyway to create the artifact tasks using Metaservlet commands or any other approach instead of manually creating the tasks in job conductor.

Labels (2)
1 Solution

Accepted Solutions
jgillmanjr
Contributor II
Contributor II

@ravi999 

 

It appears that associatePreGeneratedJob is what you'll want to use.

View solution in original post

6 Replies
ashif2
Creator II
Creator II

TAC , Metaservlet API are the only ways to create items in TAC. What is the error you are facing in MetaServlet API Call.

 

Share the commandline and the logs which you tried out. 

ravi999
Contributor III
Contributor III
Author

I am not getting error creating the task with TAC or metaservlet. I want to reduce manual work of creating tasks from TAC. Metaservlet is working. But it is not creating a artifact task(not taking the code from Nexus). It is taking the code from Git Branch. I want to take the code from Nexus using Metaservlet commands or any other approach. Is there any way?
jgillmanjr
Contributor II
Contributor II

@ravi999 

 

It appears that associatePreGeneratedJob is what you'll want to use.

Anonymous
Not applicable

@jgillmanjr 

I have used associatePreGeneratedJob  for creating the task . However, the GUI looks like the normal task. its not looking like the artifact task. can you please suggest me here.


Dezzsoke
Contributor III
Contributor III

Associate pregenerate job is the WORST one can do.

What it is doing is it downloads a ZIP file from nexus, places it on TAC.

 

It doesn't store where it came from. You can't update it. You'd have to browse it again if there are any changes made.

and if someone wipes the folder where these were stored you've lost everything.

 

What I'd like to see is a way to create Artifact tasks through metaServlet just like I do through the GUI. I don't see that option in the metaservlet tho.

jgillmanjr
Contributor II
Contributor II

Welp, so much for that idea, then.