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
3 replies
Subscribers
5 subscribers
Views
1689 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Is there a way to get the original task start time from a portal task report for
peterh
over 7 years ago
Is there a way to get the original task start time from a portal task report for a task that has been reassigned? tp!starttime will be updated if a task is reassigned.
I've seen similar posts on the forum but no direct answer. Thanks in advance!
OriginalPostID-219653
OriginalPostID-219653
Discussion posts and replies are publicly visible
0
sanjeevr
over 7 years ago
Pete - Not sure if you want the exact date and time but if its only date maybe you can use gettaskelapsedtime() and completion time to get to the start date.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mohammedz
A Score Level 2
over 7 years ago
@peterh
One approach you can follow but I am not sure how could that can be done your way
Just place a script task before an User Input task and place a condition in output tab like if(isnull(pv!xxxxxx), {}, tp!starttime) and store the value in any PV
Upon this u can create a new column in your process report and map this pv value into it ... So when first time model runs u 'll get a time and that will be constant and it Won't get changed unlike directly call function in your process report. If task get returns for reassignment if() manage to keeps the time. If you need this for all approval level u can create a CDT ...
You can think of this where u really needs accurate timings to be captured...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterh
over 7 years ago
Thanks guys for the responses. We ended up using the second approach (process variable) because portal reports can't use functions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel