Track when a task is opened

I had a teammate ask me how to track a task is opened the first time.  He wanted to fire either a startProcess or write to DSE in a localVariable but I told him you could only do that on saveInto.  I proposed creating a task report and either using the status of Assigned -> Accepted or Owner is not null to show the task has been opened and accepted (accepted has automatically when there is only one assignee and the task is opened).

Is this the only way to track when a task is opened?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    The other possibility, though not EXACTLY what was asked for, you could have 2 saveIntos added to each component on the form.

    The first is to set an alreadySent flag (which you set to false by default) to true.

    The second is if( local!alreadySent, {}, a!startProcess() )

    With this, you'll send one process, and hopefully only 1 process, the first time a user INTERACTS with anything on the form.

    Again, not exactly what was asked for, but will do in a pinch?

Reply
  • 0
    Certified Lead Developer

    The other possibility, though not EXACTLY what was asked for, you could have 2 saveIntos added to each component on the form.

    The first is to set an alreadySent flag (which you set to false by default) to true.

    The second is if( local!alreadySent, {}, a!startProcess() )

    With this, you'll send one process, and hopefully only 1 process, the first time a user INTERACTS with anything on the form.

    Again, not exactly what was asked for, but will do in a pinch?

Children
No Data