VMware Cloud Community
decool
Contributor
Contributor
Jump to solution

External Trigger for a workflow

Hi,

How can i start a workflow with a external trigger like a PowerShell Script?

regards

Denis

1 Solution

Accepted Solutions
Burke-
VMware Employee
VMware Employee
Jump to solution

By using the REST API, have a look at my scripts here for example:

http://bit.ly/vroClientScripts

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter

View solution in original post

4 Replies
Burke-
VMware Employee
VMware Employee
Jump to solution

By using the REST API, have a look at my scripts here for example:

http://bit.ly/vroClientScripts

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
decool
Contributor
Contributor
Jump to solution

Hi,

thank you very much for this Link.

Have you a Quick Solution for this error message?

Invoke-WebRequest : The 'Content-Type' header must be modified using the appropriate property or method.

Parameter name: name

regards

Denis

0 Kudos
Burke-
VMware Employee
VMware Employee
Jump to solution

I have just re-checked the runWorkflow.ps1 script on my Windows 10 Enterprise system running Powershell 5. The only error I found was in a comment that provided example command line usage where the last parameter example was -jsonFile, when in fact that had been updated to now be -inputFile

I would re-check your command line that you are using to launch the script and confirm you are providing a valid inputFile.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos
decool
Contributor
Contributor
Jump to solution

Hi,

i have used a old Version of PowerShell. With PowerShell Version on W2K12R2 it works perfect.

Sorry for the delayed answer.

0 Kudos