Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
5 subscribers
Views
2040 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Is it possible to reset a task deadline after a user accepts the task?
cherylr
over 9 years ago
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
aayusha
Certified Senior Developer
over 9 years ago
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.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
aayusha
Certified Senior Developer
over 9 years ago
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.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data