Question
Hawaii Medical Service Association
US
Last activity: 4 Oct 2016 8:35 EDT
What is the best design for implementing Comments to be added by a number of people in work object?
Multiple users at different life cycle of a case should be able to input into the comments property in a case and the system should track who commented what and when. What is the best design and implemenation ?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Infosys
GB
Hi Dyan,
The similar scenario is occured to me as we need to capture all the comments of the users on a particular work object.
Our design is
1. Created a different table to save all the comments data related to a work object so that there will be no locking issues.
2. While fetching and showing the data, we are creating a page list and pushing the comments data under work page.
In this case, size of the work object will be less and we will fetch whenever user wants to see it.
Areteans Technologies
AU
You can use OOTB Notes functionality. AttachNote activity.
-
Subhashree Venkatachalam
Hawaii Medical Service Association
US
Thank you, but The requirement is to have in pyWorkPage, and if we attach it is not available in pyWorkPagy. Are there any other designs?
Ajay Kumar Devarashetty
CA
Hello,
All the work object notes should be stored in "Data-WorkAttach / Link-Attachment" which are linked to workpage the way we store actual attachments. You could use "SaveAttachment" activity and you could have Data pages created around these tables to pull notes.
Pegasystems Inc.
US
Hello,
Why would your requirement be specifically to store the note on pyWorkPage? That seems like a bad way to go. You're going to run into issues with other users locking the item, etc. If you're saying you have a single property called comments and you want to track who changes the value and when, you should look at the field level auditing functionality. That should allow you to do that.
Thanks,
Mike
Hawaii Medical Service Association
US
Hi
thanks for the notes,
the idea is to get all the questions and answers comments on a issue collect and present at a place.
Accepted Solution
Infosys
GB
Hi Dyan,
The similar scenario is occured to me as we need to capture all the comments of the users on a particular work object.
Our design is
1. Created a different table to save all the comments data related to a work object so that there will be no locking issues.
2. While fetching and showing the data, we are creating a page list and pushing the comments data under work page.
In this case, size of the work object will be less and we will fetch whenever user wants to see it.
Hawaii Medical Service Association
US
Hi Hareesh,
Would you please share your design related to the comments ? Did you use any out of the box activity to insert the commments to the pagelist or something like that?