Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
Respected Contributor.. CD35 Respected Contributor..
Respected Contributor..
657 views

Execute Flow from External Software

Jump to solution

Hi,

I try to execute a flow in OO from an external software. For my test, I try to execute the flow from Studio in debug mode. I know that I must use a HTTP client with POST method but I don't understand what URL do I call ?

I try this : http://hpe-oo-01:8443/oo/rest/v2/executions

The body :

{
"flowUuid":"8d52dfc3-1de5-48d4-9c2a-887718de4696", "runName": "test", "logLevel": "STANDARD"
}

The headers : Content-Type:application/json

The error : Error while executing http request: hpe-oo-01:8443 failed to respond.

login and password are not null.

Thanks.

Nicolas

Tags (1)
0 Likes
1 Solution

Accepted Solutions
Respected Contributor.. CD35 Respected Contributor..
Respected Contributor..

Re: Execute Flow from External Software

Jump to solution

My bad, I did a bad copy/paste for the uuid, so it was missong from OO.... It works now.

( a 400 error is a syntax problem in the body)

2 Replies
Respected Contributor.. CD35 Respected Contributor..
Respected Contributor..

Re: Execute Flow from External Software

Jump to solution

It works for a GET command but not for POST.

URL was not correct, protocol must be httpS not http.

I have a 400 error now (bad request). Is a bad body ?

0 Likes
Respected Contributor.. CD35 Respected Contributor..
Respected Contributor..

Re: Execute Flow from External Software

Jump to solution

My bad, I did a bad copy/paste for the uuid, so it was missong from OO.... It works now.

( a 400 error is a syntax problem in the body)

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.