How to differentiate "un-opened/un-actioned" assignments from opened assignments in my worklist or from the team member work list?
The easiest way to explain this is the unread emails from any mail client. Unread emails are usually bold where opened emails are not bold.
Does that same capability exist within Pega worklists OOTB? or if not, does anyone have a recommendation / example implementation of how to do that.
So, today, my worklist (assignments that are assigned to me to work on) shows 10 items. I have opened up all 10. And done some work on each. I haven't completed the assignment as I am still "doing things".
Let's say today is wednesday and I am off sick thursday/Friday.
I come back into work on Monday and now 5 new assignments are assigned to me. due to different default sort order they are intermingled with the previous 10 but I can't tell which ones I have done work on. Without having to open (and subsequently close) all 15 of them, how can I quickly identify the 5 new ones.
Can the same logic be applied to the team member work list so that other members could see which ones I have opened or is only restricted to my worklist (i.e. per user)?
Santanu. thank you for the response. any direction you can provide will be helpful. I was either going to look at flags or when rules based on the different datetime properties but I would need to make sure I watch the correct ones; (i.e. from pc_worklist or work from the Work Item table)
rawap. thanks for your response. In some cases, it could be that some data is entered and then the save button is pushed. In other cases, it could just be that the assignment was opened, looked at, but nothing done to it. (i.e. no triggerable action to update any data or invoke any logic)
Ok. In the case where assignment was just opened but nothing done to it, you will not be able to use any flags (datetime properties etc. ) since nothing is changed in database. I guess you need to write your own flags or logic for every assignment that is opened.
If you need to do it for only few assignments (read as flow actions) then pre processing activity is the right place. If you want to do it as a generic solution, then default callback methods will be helpful. In this case PerformDefault.
You have to make sure to persist the flag. Let us know if you need more information.
I have to implement the same requirement, but according to my requirement need to display new label with case id for the assignments in work list which are not opened yet. As you are saying here also cant use Date time properties since nothing changed in DB, so seems to be build own logic. but I have doubt on in which page should i keep the flag ? since during work list , pyworkPage will not be accessible.
Just an update for folks. I have been pulled onto something else and might not be able to implement anything right away but based on the above information and the below links here's what I might be looking into doing.
In a cell property of particular interest, you add the inline style: inline style: <pega:when name="WhenRule">font-weight: bold</pega:when>
where the WhenRule will do all the magic to determine whether to bold or not.
Keep in mind that the bolding logic only works with normal text and not formattedText controls or embedded UI Sections.
It also doesn't handle the concept when you open an object and do not force a save, as rawap has mentioned above.
Once I implement a solution, I will fully document my effort here.