2
1
0

Is there a way to reassign or delete a task using the REST APIs?


According to Tasks API article, it seems the POST (create task) has a long list of attributes that can be set , the PUT (update task) only really allows change of the form status.


Many thanks,

Kiki

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Thanks Miro,

      I think setting "formStatus" to "Abandoned" is possibly ok. I will double check with the client.

      Any idea on Reassign? I think they are more concerned about the reassigning than deleting a task...This is for the scenario where a staff member is sick, and they would like to give the task to someone else.

      Many thanks,

      Kiki


      1. Miroslav Botka

        If there is no REST API OOTB you can still built a custom groovy script and expose it as a REST service.

      2. Kiki Liao

        Thank you Miro.

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Hi Kiki, re deletion, I think TM doesnt support deletion of any transactions. Would PUT Update Task - with formStatus='Abandoned' resolve your issue?

        CommentAdd your comment...