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
8 replies
Subscribers
7 subscribers
Views
2594 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
When a "Kudo" is giving within the Tempo Newsfeed, where is that data
Chasity Davis
over 11 years ago
When a "Kudo" is giving within the Tempo Newsfeed, where is that data stored behind the Kudo? As a corporation we would like to utilize the Kudos feature within Appian, but would need to provide statistics behind the kudos that were given. When, By Whom, To Whom, Comments, # Kudos Received by Person, etc... Any information around this would be much appreciated. Thanks!...
OriginalPostID-85294
OriginalPostID-85294
Discussion posts and replies are publicly visible
0
Tim Nguyen
Appian Employee
over 11 years ago
Currently there is no out of the box method of aggregating the data of Kudo's. I could definitely submit an enhancement request on your behalf for this feature.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Just for your question not to remain fully answered: kudos are entries in the [dbo].[tp_feed_entry] table with a NULL feed_id and of a specific type. As of Appian 7.2 the type for kudos is 8 but obviously since there's no public API nor out of the box to query Kudos it wouldn't be safe to rely on this design to run a simple query since it can be subject to change in future versions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
I meant "*just for your question not to remain partially answered"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chasity Davis
over 11 years ago
Thanks for the responses...and yes, you read my mind Eduardo. Thanks for pointing me in the right direction with the tables the data is stored in. We may create a query against that table in the meantime, but watch for any added system funtionality in future Appian releases. Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chasity Davis
over 11 years ago
One last question though, I do not see any dates associated to the feed entries. Is there another associated table that stores these dates? Also, how would I retrieve all of the associated comments to the initial "kudos"? Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Actually the goal of my answer was for just question not to remain unanswered but we definitely don't recommend accessing the primary data source for several reasons, some examples are: if you expose it you won't be able to avoid people updating it and possibly creating inconsistencies, also since there is no public API yet you can't guarantee the structure will remain the same which is not maintainable, I would consider exposing it too risky and definitely not a best practice.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
For your last question, which I'd hate to leave unanswered as well, the answer is: each row in the tp_feed_entry table has a created_ts which is a "long" used to represent the date when the entry was created. For example, if my row has a value of 1381895363259 in created_ts and I run this simple line in Java
System.out.println(new java.sql.Timestamp(1381895363259L));
I get: 2013-10-16 14:49:23.259
This is just an example but there are already functions in MySQL, SQL Server, etc that convert a long into a timestamp. Again keep in mind I am not recommending exposing/accessing the primary data source for what I've explained above but this would the answer to your last question.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chasity Davis
over 11 years ago
Thank you Eduardo. Your input is much appreciated. We will look at a different solution, which makes me sad because we would have loved to use the system Kudos functionality.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel