Skip to main content

Is there a way that I can use to make an API call to trigger a workflow?
We want to start a workflow to Load Data into MDM after the data is refreshed in all source systems, each time it is refreshed.

Please suggest if there is a way do define a service for this.

Thanks in Advance :)

You can start a .ewf workflow by HTTP call @aish_TF. Documentation link is here: https://docs.ataccama.com/runtime-server/latest/workflow-and-scheduler/execute-workflows.html#http-request

 

Was this what you’re after?


Thanks @maykwok_hamilton 
Looks like what I am looking for. I’ll check this.

I have one question though - Is Workflow HTTP Remote API available out of the box or we need to enable it in some way?

Thanks in Advance :)


Hi @aish_TF ,

Yes, as long as your ewf file is already deployed on the server, then the execute by running HTTP call will work. You just need to make sure the URL pattern matches the deployed server URL, and the ewf file name, and supply all variables defined, even if you want to pass null variable.

 

There can also be security involved with invoking workflow, in which case you will need to pass Authorization header, details are on the same doc page.


@may_kwok Got it. Thanks a lot :)


@may_kwok I am trying to implement this. Is there a suggested application for Base64 encryption? I encrypted the information using an opensource application and got the below response 

401: The user request has no sufficient rights to run the workflow.


Reply