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
7 replies
Subscribers
7 subscribers
Views
3498 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
How to get Assigned time of a task. My use case is I have to show Assigned time
pradeepd780
over 11 years ago
How to get Assigned time of a task. My use case is I have to show Assigned time of a task in a report. But the assigned task is updated/overrided by Accepted time of that task. Please help.
Thanks in advance!!
...
OriginalPostID-87445
OriginalPostID-87445
Discussion posts and replies are publicly visible
0
Sathya Srinivasan
Appian Employee
over 11 years ago
Is the tp!startTime not providing you with what you want?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
joel
over 11 years ago
There is a smart service which has an expression which allows you to get the tp!accepted time by the tp!id. The only issue with this is that you cannot use this in a report, what I do is on the output of the first node where the user accepts the task I write the tp!id into a variable and then use the expression and write the acceptance time into a pv and report into this. The only issue comes where you have loops and this will be overwritten - on this circumstance you could think about inserting this into a database table for each task. This is the best approach I have come up with.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
pradeepd780
over 11 years ago
@Joel - you are right but I need startTime of a process, not accepted time. I need a report in which I want to show start and end time of a task. How can I achieve this.?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
pradeepd780
over 11 years ago
@Sathya - tp!startTime is not providing the exact thing I want. This variable is overridden by accepted time of a task.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
joel
over 11 years ago
startTime of a process can be accessed via pp!startTime. I believe this will also work on a task report.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Margaret Haymann
Appian Employee
over 11 years ago
Pradeep.. The easiest thing to do is on the output of the previous task store the date and time in a process variable and use that.. This will be the submit time of that task which will be the initial assigned time of the next task.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
pradeepd780
over 11 years ago
@Margaret - This will work.Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel