cancel
Showing results for 
Search instead for 
Did you mean: 

Run a workflow via API

Run a workflow via API

michael_klaus
New Contributor III

Hello all

 

Is it possible to run a XMC Workflow or tasks from external via API? I didn’t find anythin in the API swagger.

The only idea I have is to register the external client as a Syslog client. On the client i would initiate a syslogmessage and then create an alarm for a syslog message that triggers a task.

 

 

19 REPLIES 19

Markus_Nikulski
Extreme Employee

Hi Mig,

is me have written the XMC_NBI which is not directly supporting kick workflow. Currently I working on a enhanced version supporting WF, but isn’t finalized jet. 
But you can call the NBI like this by your self

831d7bff4b8e4af6bb18b6f9f4feaf06_08959659-4cb1-4fb1-ac28-d5cc533f4367.png

 

 

831d7bff4b8e4af6bb18b6f9f4feaf06_46891eba-56b6-4a60-93ed-5eeb3918509b.png

 

831d7bff4b8e4af6bb18b6f9f4feaf06_efb11c49-81a1-4dbc-a7ea-21893a04934d.png
831d7bff4b8e4af6bb18b6f9f4feaf06_c59eb984-5e4e-4774-9e9a-c1b271c8a4d3.png
831d7bff4b8e4af6bb18b6f9f4feaf06_c6cf91e3-b3d8-4308-b5a2-9aea8ae8c165.png
831d7bff4b8e4af6bb18b6f9f4feaf06_475fec22-bace-430c-828c-be34e02fb8bd.png
831d7bff4b8e4af6bb18b6f9f4feaf06_5f5090a0-ae63-48c5-963d-707ec1a34bc8.png

Cheers
Markus

michael_klaus
New Contributor III

ok, thanks a lot. I will try it

Miguel-Angel_RO
Valued Contributor II

Yes,

You can make an NBI call that will start the workflow.

Use this package: XMC_NBI from @Markus Nikulski  it contains the code to send the NBI calls with python.

You can easily get the code for what you want to do.

Mig

michael_klaus
New Contributor III

Hi Mig

So I do an API call with the NBI?

 

Miguel-Angel_RO
Valued Contributor II

Hi Michael,

Here in the NBI:

e897f76fb3254289b57939c202ecf4f4_20b385da-f697-4253-92f1-bb0362e0a08d.png

Mig

GTM-P2G8KFN