Active IQ Unified Manager Discussions

How to launch a Workflow from CLI

Mathias_Robichon
4,722 Views

Hi folk,

Anybody knows how to launch a WFA Workflow from a CLI (not on the WFA server).

Using the REST API is the only way ? If yes, how can use this API from a simple way (like wget for instance)?

Thanks !

Mathias

1 ACCEPTED SOLUTION

sinhaa
4,722 Views

Mathias,

       WFA provides REST and also SOAP APIs for workflow execution. Attaching a powershell script ( originally written by Mirko ) which can be used to execute WFA workflows from any Remote Windows host to execute workflows on the wfa server.

It has an interactive CLI session i.e. it lists all workflows for you, you select the workflow ID, its asks for parameters, you provide those, it executes it constantly providing the execution status.

Modify the username, password, and wfaserver variables as per your setup.

warm regards,

Abhishek Sinha

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

View solution in original post

2 REPLIES 2

sinhaa
4,723 Views

Mathias,

       WFA provides REST and also SOAP APIs for workflow execution. Attaching a powershell script ( originally written by Mirko ) which can be used to execute WFA workflows from any Remote Windows host to execute workflows on the wfa server.

It has an interactive CLI session i.e. it lists all workflows for you, you select the workflow ID, its asks for parameters, you provide those, it executes it constantly providing the execution status.

Modify the username, password, and wfaserver variables as per your setup.

warm regards,

Abhishek Sinha

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Mathias_Robichon
4,722 Views

Thanks a lot,

Mathias

Public