Reltio Connect

 View Only
  • 1.  DCR created through API

    Reltio Partner
    Posted 22 days ago

    Hi Everyone,

    I created DCR through 2 methods

    1. Through data loader with DCR create option enabled
    2. 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
    ------------------------------


  • 2.  RE: DCR created through API

    Reltio Employee
    Posted 22 days ago

    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 'EnvironmentURL: https://{{env}}.reltio.com' \
    --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
    ------------------------------



  • 3.  RE: DCR created through API

    Reltio Partner
    Posted 22 days ago

    Tysm! that was the missing piece in my work. 



    ------------------------------
    GautamKumar MS
    Axtria
    ------------------------------