<?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 Problem executing a Shell Task  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/problem-executing-a-shell-task/m-p/22615#M9871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to execute a shell task as per the activiti user guide example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&amp;lt;serviceTask&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;id=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"shellEcho"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;activiti:type=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"shell"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&amp;nbsp; &amp;nbsp;&amp;lt;extensionElements&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;activiti:field&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;name=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"command"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;stringValue=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"cmd"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;activiti:field&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;name=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"arg1"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;stringValue=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"/c"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;activiti:field&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;name=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"arg2"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;stringValue=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"echo"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;activiti:field&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;name=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"arg3"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;stringValue=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"EchoTest"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;activiti:field&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;name=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"wait"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;stringValue=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"true"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;activiti:field&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;name=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"outputVariable"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #7d9029; background-color: #f8f8f8;"&gt;stringValue=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; background-color: #f8f8f8;"&gt;"resultVar"&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6d6e71; background-color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&amp;lt;/serviceTask&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8; font-weight: bold;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8;"&gt;It's giving me the below error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8;"&gt;Errors while parsing:[Validation set: 'activiti-executable-process' | Problem: 'activiti-servicetask-missing-implementation'] : One of the attributes 'class', 'delegateExpression', 'type', 'operation', or 'expression' is mandatory on serviceTask.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8;"&gt;Can anyone help on how to fix this? what values do i need to set in these attributes.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #008000; background-color: #f8f8f8;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2019 09:11:23 GMT</pubDate>
    <dc:creator>edagher</dc:creator>
    <dc:date>2019-02-15T09:11:23Z</dc:date>
    <item>
      <title>Problem executing a Shell Task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-executing-a-shell-task/m-p/22615#M9871</link>
      <description>Hello,&amp;nbsp;I'm trying to execute a shell task as per the activiti user guide example:&amp;nbsp;&amp;lt;serviceTask id="shellEcho" activiti:type="shell" &amp;gt;&amp;nbsp; &amp;nbsp;&amp;lt;extensionElements&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;activiti:field name="command" stringValue="cmd" /&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;activiti:field name="arg1" stringValue="/c" /&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;a</description>
      <pubDate>Fri, 15 Feb 2019 09:11:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-executing-a-shell-task/m-p/22615#M9871</guid>
      <dc:creator>edagher</dc:creator>
      <dc:date>2019-02-15T09:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem executing a Shell Task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-executing-a-shell-task/m-p/22616#M9872</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm bumping this as I had the same issue and want to raise visibility.&lt;/P&gt;&lt;P&gt;I noticed that when exporting the module, the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;activiti:type=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"shell"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;part of the ServiceTask was removed, although it was definitely there when I imported the module file.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 07:00:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-executing-a-shell-task/m-p/22616#M9872</guid>
      <dc:creator>mgreene</dc:creator>
      <dc:date>2019-11-19T07:00:03Z</dc:date>
    </item>
  </channel>
</rss>

