Hi Gautam,
Once you create a DCR using alwaysCreateDCR, it will create a "changeRequest". However, this change request needs to be used to create the task.
You can use the below API to create the tasks
curl --location POST 'https://{{env}}-workflowui.reltio.com/services/workflow/{{tenantID}}/tasks' \
--header 'Authorization: Bearer s.AXXXXXi2A' \
--header 'Content-Type: application/json' \
--data '{
"objectURIs": [
"changeRequests/{{ChangeRequestID}}"
]
}'
This will create the TaskID and it would assign the task to the user.
I hope this helps.
------------------------------
Girish Kalburgi
Reltio Inc
NC
------------------------------
Original Message:
Sent: 03-31-2025 09:39
From: GautamKumar MS
Subject: DCR created through API
Hi Everyone,
I created DCR through 2 methods
- Through data loader with DCR create option enabled
- Through create entity API with option - alwaysCreateDCR
The DCR workflow got triggered and the task was assigned to the user only when done through data loader job.
But when created a DCR through API, the workflow is not triggered, the task was not assigned.
In the end I was only able to see 1 task in my Inbox/Profile page (through the data loader way).
How to make the DCR workflow trigged when DCR is created through API?
Note - the DCR workflow process was modified to assign task only to 1 user and not role.
------------------------------
GautamKumar MS
Axtria
------------------------------