<?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: Running shell script from Activiti in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11542#M4580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;we had a simple internal poc, nothing advanced/production ready but the internal project 'stopped'&amp;nbsp; unfortunately. Not sure if I can find the code…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2011 11:12:38 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2011-12-06T11:12:38Z</dc:date>
    <item>
      <title>Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11532#M4570</link>
      <description>What is the best way to run a ksh or bash script (instead of a Java class) from within a script task? Or the only way is to wrap it with a Java class and use ProcessBuilder to run ksh/bash script?Maybe it's better to use Groovy to start ksh/bash script?Any ideas?One more question. Can I use jython i</description>
      <pubDate>Thu, 16 Dec 2010 18:17:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11532#M4570</guid>
      <dc:creator>alexbt</dc:creator>
      <dc:date>2010-12-16T18:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11533#M4571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alex,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use any JSR-223 compliant language. So if JYthon supports that spec, just add it to the classpath and change the 'scriptFormat' value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have a best practice on how to start a shell script, so I dont see any other solution than doing as you say.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 08:40:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11533#M4571</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-12-17T08:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11534#M4572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your quick reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 11:51:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11534#M4572</guid>
      <dc:creator>alexbt</dc:creator>
      <dc:date>2010-12-17T11:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11535#M4573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think starting a command line process is a great idea for an activity type.&amp;nbsp; Created &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-461" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-461&lt;/A&gt;&lt;SPAN&gt; so that we don't forget about this idea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 12:36:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11535#M4573</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2010-12-17T12:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11536#M4574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I totally agree with it. This is actually my case - to start a ksh&amp;nbsp; (on HP-UX or AIX servers) and bash (on Linux ones) scripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 13:55:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11536#M4574</guid>
      <dc:creator>alexbt</dc:creator>
      <dc:date>2010-12-17T13:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11537#M4575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also have 2 ideas for UI part of the system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where should I post them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 13:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11537#M4575</guid>
      <dc:creator>alexbt</dc:creator>
      <dc:date>2010-12-17T13:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11538#M4576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Depends on what you mean with 'ui'. We have separate forums for each Activiti component now, see &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/index.php" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/index.php&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Dec 2010 08:33:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11538#M4576</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-12-20T08:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11539#M4577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We started working on this one… An important question is how the parameters to commands should be passed on. (java exec does not match to os level)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We could do two things. String parsing of a full command and params. Or a separte command field and one or more param fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If we go for the former, I propose to use something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- a space is a separator between params&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- " or ' around something means it may contain spaces&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- \ before a space means it should be treated as part of a parameter&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some other questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- do we need the ability to set environment properties?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- do we do someting with the return value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- do we do something with the output of the command (if at stdout)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 23:15:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11539#M4577</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-01-13T23:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11540#M4578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ronald, could you give some examples of how the xml would look like?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think capturing the return result is valid, as it allows to check on success or failure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Capturing the output doesnt seem very important to me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 09:22:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11540#M4578</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-01-14T09:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11541#M4579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what happened to this topic&amp;nbsp; ? Is it implemented, forgotten or impossible ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 20:46:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11541#M4579</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2011-12-05T20:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11542#M4580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;we had a simple internal poc, nothing advanced/production ready but the internal project 'stopped'&amp;nbsp; unfortunately. Not sure if I can find the code…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 11:12:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11542#M4580</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-12-06T11:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11543#M4581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just for future probable readers. The feature is implemented. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-461" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-461&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 13:25:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11543#M4581</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-07-16T13:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11544#M4582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;that link does not work any longer…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is there a new one or some specs on the matter?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 14:58:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11544#M4582</guid>
      <dc:creator>bogdartysh</dc:creator>
      <dc:date>2016-05-18T14:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Running shell script from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11545#M4583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The shell task was implemented and is part of the engine. Check the user guide for more info.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 17:04:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/running-shell-script-from-activiti/m-p/11545#M4583</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-05-18T17:04:46Z</dc:date>
    </item>
  </channel>
</rss>

