Skip to main content
Question

How to trigger approval workflow when creating a record via REST API?

  • April 27, 2026
  • 2 replies
  • 45 views

Hello, I'm working on a MDM project and need help with workflow-governed record creation via the REST API.

I have an integration where record creation requests come in from a third party application with the required record details.
I pick up those details and use them to create a new master record in MDM via POST /api/rest/master/{viewName}/{typeName}
Currently the record gets created and published immediately, completely bypassing the workflow.
What I actually need is for this record creation to go through the workflow, meaning it should create a task in draft state with the actual record details, and then go through the configured approval workflow steps before being published.

Is there a way to achieve this via the REST API? Any workarounds or approaches others have used for this would be really helpful.

 

2 replies

Ales
Ataccamer
Forum|alt.badge.img+2
  • Ataccamer
  • May 26, 2026

Hi ​@Harsh , 

have you tried to create a task using this endpoint:

https://docs.ataccama.com/mdm/16.3.0/configuration/rest-api.html#create-multiple-tasks

Ales

 


  • Author
  • Data Voyager
  • June 11, 2026

Hi ​@Ales, thanks for the suggestion!

I did look into POST /api/rest/v2/tasks but I think the request body there expects IDs of records that already exist in MDM so it can link an existing record to a task, but it can't create a new record as a draft inside the task. What I actually need is for the incoming record data to be staged as a draft within the task like when you create a record manually in the web app and it shows task of type Create with the actual record details staged as a draft, which a reviewer can then approve before it gets published.