VMware Aria Automation Orchestrator

 View Only
  • 1.  vRO unable to change script runtime

    Posted Sep 30, 2021 05:21 AM

    Hi,

     

    I've installed a vRealize Orchestrator Appliance (version 8.4.2 and version 8.5.1 - both show the same behavior).

    The configuration shows only green check marks. When I create a new workflow (without any inputs or outputs) and only one scriptable task I can change the runtime to powershell. Script content is quite simple:

     

    $s='hello world'
    Write-Host ("$s")
     
    After saving the workflow and checking runtime again it is set back to javascript. The behavior is the same for all other runtimes (python and nodejs).
     
    Running the workflow results in an error:
     
    2021-09-30 07:18:07.290 +02:00INFO__item_stack:/item1
    2021-09-30 07:18:07.294 +02:00ERRORError in (Workflow:Test-Powershell / Scriptable task (item1)#2) ReferenceError: "Write" is not defined.
    2021-09-30 07:18:07.319 +02:00ERRORWorkflow execution stack: *** item: 'Test-Powershell/item1', state: 'failed', business state: 'null', exception: 'ReferenceError: "Write" is not defined. (Workflow:Test-Powershell / Scriptable task (item1)#2)' workflow: 'Test-Powershell' (22488dbe-2b2b-4c6a-9d70-41160133fa78) | 'no inputs' | 'no outputs' | 'no attributes' *** End of execution stack.
     
    This error is logical - because the wrong runtime is used. 
     
    The Orchestrator is NOT part of vRA but the free version. In my understanding since vRO 8.1 the additional scripting runtimes should also work in the standalone Orchestrator.
     
    Any help or clearification highly appreciated
     
    thanks
    Roland


  • 2.  RE: vRO unable to change script runtime
    Best Answer

    Posted Sep 30, 2021 12:01 PM

    The multi-runtime feature of vRO is only available if you are using vRealize Automation licence. It means that you need to register vRO against vRealize Automation.

    Same behavior with GIT integration.



  • 3.  RE: vRO unable to change script runtime

    Posted Sep 30, 2021 12:36 PM

    Thank you Damian, so I've misinterpreted the information I've found ...