VMware Cloud Community
slowroland
Contributor
Contributor
Jump to solution

vRO unable to change script runtime

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
0 Kudos
1 Solution

Accepted Solutions
bdamian
Expert
Expert
Jump to solution

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.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian

View solution in original post

0 Kudos
2 Replies
bdamian
Expert
Expert
Jump to solution

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.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos
slowroland
Contributor
Contributor
Jump to solution

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

 

0 Kudos