<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Create execution plan using Metaservlet API in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Create-execution-plan-using-Metaservlet-API/m-p/2318132#M143706</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create execution plan using Talend Metaservlet API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have cheched the below link for this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/r/en-US/7.3/administration-center-metaservlet-api/metaservlet-commands" target="_blank"&gt;https://help.talend.com/r/en-US/7.3/administration-center-metaservlet-api/metaservlet-commands&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it seems there is no API endpoint to create an execution plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help on this.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:01:46 GMT</pubDate>
    <dc:creator>Vishu1</dc:creator>
    <dc:date>2024-11-15T23:01:46Z</dc:date>
    <item>
      <title>Create execution plan using Metaservlet API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-execution-plan-using-Metaservlet-API/m-p/2318132#M143706</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create execution plan using Talend Metaservlet API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have cheched the below link for this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.talend.com/r/en-US/7.3/administration-center-metaservlet-api/metaservlet-commands" target="_blank"&gt;https://help.talend.com/r/en-US/7.3/administration-center-metaservlet-api/metaservlet-commands&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it seems there is no API endpoint to create an execution plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help on this.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-execution-plan-using-Metaservlet-API/m-p/2318132#M143706</guid>
      <dc:creator>Vishu1</dc:creator>
      <dc:date>2024-11-15T23:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create execution plan using Metaservlet API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-execution-plan-using-Metaservlet-API/m-p/2318133#M143707</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for writing.&lt;/P&gt;&lt;P&gt;This can be achieved with "importExecutionPlan" command of MetaServletCaller.&lt;/P&gt;&lt;P&gt;Here is the syntax for creating a very basic Exec Plan with just one task "Task1" (which should already exist in TAC) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MetaServletCaller --tac-url=http://localhost:8080/org.talend.administrator --json-params={"actionName":"importExecutionPlan","authUser":"test@company.com","authPass":"test","result":&lt;B&gt;{"ExecutionPlan":[{"label":"PlanB","desc":"This is my Plan","execPlanTimeOut":60,"planParts":{"planId":"PlanB","planPartTaskId":"Task1"}}]}&lt;/B&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see from above, most the Exec Plan config is in&amp;nbsp;"result"&amp;nbsp;attribute.&lt;/P&gt;&lt;P&gt;To get the full syntax of "result" attribute if you want to create a more complex plan, then what you can do is start from an existing plan, and call MetaServletCaller's "&lt;I&gt;listExecutionPlans&lt;/I&gt;". This will return "result" which you can edit/adjust to use when calling "importExecutionPlan".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 05:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-execution-plan-using-Metaservlet-API/m-p/2318133#M143707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-28T05:36:12Z</dc:date>
    </item>
  </channel>
</rss>

