Is it possible to reset a task deadline after a user accepts the task?

Is it possible to reset a task deadline after a user accepts the task?

For example: we would like to set the task deadline to the accepted date plus five days.

OriginalPostID-219694

OriginalPostID-219694

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer
    There is a work around.
    Information we know:
    Task has a deadline of 5 days, once the user accepts the task.
    tp!startTime on portal report is automatically updated when the user accepts the task.

    Solution:
    By using queryProcessAnalytics we can identify when was the task accepted by the user and can calculate the due date accordingly.
    Now, if you want to show the due date on the task, then it can be easily calculated. Once the user make any interaction on the UI / submits the task, we can capture that due date and all information in process variable to save in database.

    If you are showing the due date on the UI, You may need to consider what would you want your user to see when the user hasn't accepted the task.
Reply
  • 0
    Certified Senior Developer
    There is a work around.
    Information we know:
    Task has a deadline of 5 days, once the user accepts the task.
    tp!startTime on portal report is automatically updated when the user accepts the task.

    Solution:
    By using queryProcessAnalytics we can identify when was the task accepted by the user and can calculate the due date accordingly.
    Now, if you want to show the due date on the task, then it can be easily calculated. Once the user make any interaction on the UI / submits the task, we can capture that due date and all information in process variable to save in database.

    If you are showing the due date on the UI, You may need to consider what would you want your user to see when the user hasn't accepted the task.
Children
No Data