<?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: java.lang.IllegalArgumentException: The field 'script' should be set on the TaskListener in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/java-lang-illegalargumentexception-the-field-script-should-be/m-p/77405#M24348</link>
    <description>&lt;P&gt;Can you describe the solution please?&amp;nbsp;&lt;BR /&gt;I couldn't see it&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2020 16:40:50 GMT</pubDate>
    <dc:creator>alfrescoboy</dc:creator>
    <dc:date>2020-01-08T16:40:50Z</dc:date>
    <item>
      <title>java.lang.IllegalArgumentException: The field 'script' should be set on the TaskListener</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-lang-illegalargumentexception-the-field-script-should-be/m-p/77403#M24346</link>
      <description>Hello,What I am trying to do is to move a document to a specific folder on approve or reject of a Activiti workflow. I just found a piece of code to do this. The problem is when running the workflow and on Approve of the workflow I'm getting this error-&amp;nbsp;java.lang.IllegalArgumentException: The field</description>
      <pubDate>Tue, 18 Sep 2018 06:30:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-lang-illegalargumentexception-the-field-script-should-be/m-p/77403#M24346</guid>
      <dc:creator>paulclinton</dc:creator>
      <dc:date>2018-09-18T06:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.IllegalArgumentException: The field 'script' should be set on the TaskListener</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-lang-illegalargumentexception-the-field-script-should-be/m-p/77404#M24347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved this problem. The error was due to a simple error in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 10:50:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-lang-illegalargumentexception-the-field-script-should-be/m-p/77404#M24347</guid>
      <dc:creator>paulclinton</dc:creator>
      <dc:date>2018-09-24T10:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.IllegalArgumentException: The field 'script' should be set on the TaskListener</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-lang-illegalargumentexception-the-field-script-should-be/m-p/77405#M24348</link>
      <description>&lt;P&gt;Can you describe the solution please?&amp;nbsp;&lt;BR /&gt;I couldn't see it&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 16:40:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-lang-illegalargumentexception-the-field-script-should-be/m-p/77405#M24348</guid>
      <dc:creator>alfrescoboy</dc:creator>
      <dc:date>2020-01-08T16:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.IllegalArgumentException: The field 'script' should be set on the TaskListener</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-lang-illegalargumentexception-the-field-script-should-be/m-p/77406#M24349</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;This error shows beacuse is missing the field script in the .bmpn structure of the service task item, make sure of define the field script as follows&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;serviceTask id="alfrescoScripttask1" name="Archivar evidencia" activiti:class="org.alfresco.repo.workflow.activiti.script.AlfrescoScriptDelegate"&amp;gt;
      &amp;lt;extensionElements&amp;gt;
        &amp;lt;activiti:field name="script"&amp;gt;
          &amp;lt;activiti:string&amp;gt;&amp;lt;![CDATA[//logger.log("example");]]&amp;gt;&amp;lt;/activiti:string&amp;gt;
        &amp;lt;/activiti:field&amp;gt;
      &amp;lt;/extensionElements&amp;gt;
    &amp;lt;/serviceTask&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Apr 2020 16:16:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-lang-illegalargumentexception-the-field-script-should-be/m-p/77406#M24349</guid>
      <dc:creator>MontesR</dc:creator>
      <dc:date>2020-04-06T16:16:19Z</dc:date>
    </item>
  </channel>
</rss>

