Automic Workload Automation

 View Only
Expand all | Collapse all

Flow calling Perl scripts but are run as Powershell scripts

  • 1.  Flow calling Perl scripts but are run as Powershell scripts

    Posted Mar 30, 2023 01:18 PM

    We set up a new AOA v21 instance and have been migrating flows from our v12 system to it.  We are finding that flows that call Perl scripts are running them as Powershell scripts (failing with syntax errors).  I've update the .ini file to set the path for .pl files to run Perl, but they still fail.  What AE/Vara/etc variable do I change to set the default script type, or interpreter to be Perl?



    ------------------------------
    Steve
    ------------------------------


  • 2.  RE: Flow calling Perl scripts but are run as Powershell scripts

    Posted Mar 31, 2023 10:03 AM

      did you set both the ecpexe and the ecpext in the INI.

    I set the UC_EXT_INTERPRETERS_WINDOWS like so

    However I use

    :BEGIN_EXT_INT Python

    interpreter code  or script here

    :END_EXT_INT Python

    so I can use multiple interpreters without INI changes

    the  docs show the example specifically for Perl

    https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/21.0.5/Automic%20Automation%20Guides/Content/Script/Reference/BEGIN_EXT_INTERPRETERS.htm?Highlight=interpreters