What's "presence" on a task?

Comments

3 comments

  • Andreas Haugstrup Pedersen

    Presence is used to display any other user who is "viewing" that task at the time. It's not useful for your purpose (the presence service is not currently expose for third-party usage).

    I read your description several times, but I still don't understand what it is you're trying to do...

    0
    Comment actions Permalink
  • Mose

    Profile_image_650343246_1544

    Oh ok. Thanks for that information.

    I try to make it a bit simpler and more precise:

    Using an "API-User" I create some tasks for items when a date-field is due. This task is assigned to (for example) my normal Podio account. So "created_by"=>"API-User" and "responsible"=>"Mose". Now let's say it's not me who has some doing on this item but another colleague, so I want to reassign this task to him. Now it's "created_by"=>"API-User" and "responsible"=>"Colleague". Next time my API-User checks if there is a task to create it looks for "this item is due. is there a task created by me with ref_item like XXXX and assigned to mose?" that request returns "no". I search for a query that tells me "yes" and the question needs to be like "is there a task created by me with ref_item like XXXX and assigned to mose or was reassigned by mose?"

    I know I could save all the created task ids and such but I wanted to keep it simple without using a database...

    And as I can see this particular task in Podio under "delegated tasks" (hope it's called like this? I simply translated from German) of my normal user there must be still a connection saved somewhere in the system...

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    I'm afraid you'll have to store the tasks_ids on your end. Tasks in Podio don't keep track of the entire lifespan of a task, they just show the current state of the task.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk