<?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 Re: Using Automation Script params with a variable passed from the automation chain in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/using-automation-script-params-with-a-variable-passed-from-the/m-p/318577#M5578</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Why not using a single automation scripting? It will be way easier no?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 20:55:33 GMT</pubDate>
    <dc:creator>Gregory_Carlin</dc:creator>
    <dc:date>2019-10-31T20:55:33Z</dc:date>
    <item>
      <title>Using Automation Script params with a variable passed from the automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/using-automation-script-params-with-a-variable-passed-from-the/m-p/318576#M5577</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am having an issue with passing params to my Automation Script via an Automation Chain.&lt;/P&gt;
&lt;P&gt;My Automation Script has one parameter value called 'ConditionalValue' that will be used to perform some validation checks before performing a specific process.&lt;/P&gt;
&lt;P&gt;The Automation Chain has a section where the Context Variable named 'ConditionalValue' is set through a different process. Once this value is set, I then pass it into the params as @{ConditionalValue}.&lt;/P&gt;
&lt;P&gt;Within the JS, I am able to print params.conditionalValue, but it is not the actual value of the object; rather, it is coming out as this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;params.conditionalValue == org.nuxeo.ecm.automation.core.scripting.MvelExpression@696a7345
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Because this is not the value of what was passed in, I cannot perform any validation checks.&lt;/P&gt;
&lt;P&gt;How can we access the values of these Java objects that are passed in as params to the Automation Script?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 22:18:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/using-automation-script-params-with-a-variable-passed-from-the/m-p/318576#M5577</guid>
      <dc:creator>Matthew_Roy</dc:creator>
      <dc:date>2019-10-30T22:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using Automation Script params with a variable passed from the automation chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/using-automation-script-params-with-a-variable-passed-from-the/m-p/318577#M5578</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Why not using a single automation scripting? It will be way easier no?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 20:55:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/using-automation-script-params-with-a-variable-passed-from-the/m-p/318577#M5578</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2019-10-31T20:55:33Z</dc:date>
    </item>
  </channel>
</rss>

