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

Miguel-Angel_RO
Valued Contributor II

I’ve seen such kind of issue.

In the Users panel where “Authorized Users” are mentioned.

1699860cc0454fd2a13420fb709106c8_89b95c4d-d7f4-4a78-bbc3-674824045067.png

Delete the LDAP User and recreate it manually (Add button) giving it the static  “EMC-Administrator” Authorization group.

Re-test and let us know

Mig

michael_klaus
New Contributor III

with the root user, I can see all workflows but with an ldap user, I can’t see all workflows. But the ldap user has full access

fe50b90e25c34493b94c7c606cc5dce8_8de750f3-3b19-4748-acbd-2a1e63f41976.png

 

Miguel-Angel_RO
Valued Contributor II

Isn’t it a permission issue?

This changes with upgrades:

6bb417c78876425e96b530167ac1b499_47097bf3-14c9-44e9-b04a-4aa03bb243fc.png

Mig

michael_klaus
New Contributor III

 

Thats great. But I have a strange behavior. With the following query i have different behaviors

query{workflows{allWorkflows {
  id
  name
}}}

 

LAB:
I can see all workflows (System and custom workflows)

 

Productions:
I can see just one custom workflow

Miguel-Angel_RO
Valued Contributor II


As usual...perfect!

Thanks

Mig

GTM-P2G8KFN