AnsweredAssumed Answered

Can Activiti manage shell scripts?

Question asked by bill1 on Oct 8, 2011
Latest reply on Jul 16, 2013 by smirzai
Hi,

My jobs are not written in java. They are a set of shells scripts/python scripts. Can Activiti manage these scripts?   Thanks !

I saw
<scriptTask id="theScriptTask" name="Execute script" scriptFormat="groovy">
  <script>
    sum = 0
    for ( i in inputArray ) {
      sum += i
    }
  </script>
</scriptTask>

But in case my script is not so simple. It is written in a file that exists somewhere in the file system. How do I reference it? Thanks !

Outcomes