<?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 How to start Execution Plan from bash script in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-start-Execution-Plan-from-bash-script/m-p/2311528#M142354</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to start execution plan (talend) after db restore and want to find way how to start it from bash script&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:11:27 GMT</pubDate>
    <dc:creator>ATabatadze1671641742</dc:creator>
    <dc:date>2024-11-15T21:11:27Z</dc:date>
    <item>
      <title>How to start Execution Plan from bash script</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-start-Execution-Plan-from-bash-script/m-p/2311528#M142354</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to start execution plan (talend) after db restore and want to find way how to start it from bash script&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-start-Execution-Plan-from-bash-script/m-p/2311528#M142354</guid>
      <dc:creator>ATabatadze1671641742</dc:creator>
      <dc:date>2024-11-15T21:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Execution Plan from bash script</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-start-Execution-Plan-from-bash-script/m-p/2311529#M142355</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You are able to create an Execution Plan with MetaServletCaller script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;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;As you can see from above, most the Exec Plan config is in "result" 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;Hope it will be helpful for you.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 02:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-start-Execution-Plan-from-bash-script/m-p/2311529#M142355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-11T02:42:16Z</dc:date>
    </item>
  </channel>
</rss>

