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
6 subscribers
Views
3482 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Capturing Task Owner values as soon as user accepts the task and pass it other p
abhinavg
over 9 years ago
Capturing Task Owner values as soon as user accepts the task and pass it other processes or updates process variable.
I have a task assigned to a group and any group user can accept the task and work on it and can take 1- 2 day to complete the same task..
In parallel i have a dashboard built for that process model containing the same task, i need to capture which user accepted the task and when when task is still not completed and in available under user task list
I was able to capture tp!owner as in pv!currentTaskOwner but that will be populated only when Task is completed, problem is dashboard is out of sync with current owner values and shows value only when Task is completed.
Any workaround to capture Task Owner in pv as soon as they accept the task to work on it
Thanks !
OriginalPostID-151343
OriginalPostID-151343
Discussion posts and replies are publicly visible
0
Sathya Srinivasan
Appian Employee
over 9 years ago
You can create a task report that shows the Task owner. Once you have this report, within the dashboard, based on the process ID, you can use the processAnalytics function to execute this report and get the owner information.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 9 years ago
a!queryProcessAnalytics() will be calling Task report every time users opens the dashboard to get taskowner value, will it not be a memory intensive call
Is this the only way to achieve ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 9 years ago
It is a valid concern. Appian Analytic performs substantially faster than a database query or something like that. Having one or two wont heavily affect performance. Having many calls might.
With that said, it is essential to do performance testing thoroughly to ensure the solution you're building is efficient. Appian provides SAIL performance metrics directly from interface designer that you can leverage.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@abhinavg Added to what Sathya Srinivasan has said, the performance of a!queryProcessAnalytics is very faster, and I guess we can see much improvement in the future. I could support this with a valid scenario which I have experienced, 120000+ records were retrieved by a!queryProcessAnalytics (12+ loops, and each loop retrieves 10000 records) in 1 minute 1 second. So as long as the formatting isn't heavy, and data is queried in batches, there isn't a much need to worry about performance.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhinavg
over 9 years ago
Thanks Satyya & Sikhivahan !!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel