<?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 Running an Automation Chain inside a Script in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/running-an-automation-chain-inside-a-script/m-p/320101#M7102</link>
    <description>&lt;P&gt;I'm running an IF statement in a run script automation. Basically, it will check to see if a pathway to a document exists. Put simply:&lt;/P&gt;
&lt;P&gt;"if pathway does exist ==&amp;gt;  Run Automation chainA"&lt;/P&gt;
&lt;P&gt;"if pathway does NOT exist ==&amp;gt; Run Automation chainB"&lt;/P&gt;
&lt;P&gt;I have both chain_A and chain_B made in Studio. I'm just not sure how to call them in a java script automation and I'm not sure how to do a test to see if the pathways exist or not. I know how to do if statements in Java, just not ones that test for existence. Any ideas?&lt;/P&gt;
&lt;P&gt;Thanks!!!!&lt;/P&gt;</description>
    <pubDate>Wed, 04 Feb 2015 20:20:20 GMT</pubDate>
    <dc:creator>nathan1620_</dc:creator>
    <dc:date>2015-02-04T20:20:20Z</dc:date>
    <item>
      <title>Running an Automation Chain inside a Script</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/running-an-automation-chain-inside-a-script/m-p/320101#M7102</link>
      <description>&lt;P&gt;I'm running an IF statement in a run script automation. Basically, it will check to see if a pathway to a document exists. Put simply:&lt;/P&gt;
&lt;P&gt;"if pathway does exist ==&amp;gt;  Run Automation chainA"&lt;/P&gt;
&lt;P&gt;"if pathway does NOT exist ==&amp;gt; Run Automation chainB"&lt;/P&gt;
&lt;P&gt;I have both chain_A and chain_B made in Studio. I'm just not sure how to call them in a java script automation and I'm not sure how to do a test to see if the pathways exist or not. I know how to do if statements in Java, just not ones that test for existence. Any ideas?&lt;/P&gt;
&lt;P&gt;Thanks!!!!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 20:20:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/running-an-automation-chain-inside-a-script/m-p/320101#M7102</guid>
      <dc:creator>nathan1620_</dc:creator>
      <dc:date>2015-02-04T20:20:20Z</dc:date>
    </item>
  </channel>
</rss>

