Author |
Message
|
k99jain |
Posted: Mon Mar 01, 2004 11:54 am Post subject: notification |
|
|
Newbie
Joined: 01 Mar 2004 Posts: 2
|
Hi all,
Is there a way to stop notifications from appearing on the worklist? |
|
Back to top |
|
 |
vennela |
Posted: Mon Mar 01, 2004 12:19 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Create a workklist with a filter and filter out notifications |
|
Back to top |
|
 |
k99jain |
Posted: Mon Mar 01, 2004 12:53 pm Post subject: |
|
|
Newbie
Joined: 01 Mar 2004 Posts: 2
|
Thanks for the reply. I am able to create a new worklist with filter but not able to filter out notification. Can you give an example? |
|
Back to top |
|
 |
vennela |
Posted: Mon Mar 01, 2004 1:13 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Code: |
TYPE NOT IN FIRST_NOTIFICATION OR TYPE NOT IN SECOND_NOTIFICATION |
|
|
Back to top |
|
 |
jmac |
Posted: Mon Mar 01, 2004 1:47 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
WOuldn't that be:
TYPE NOT IN FIRST_NOTIFICATION AND TYPE NOT IN SECOND_NOTIFICATION
Update I went back and decided to try this, and it appears that you can not filter on TYPE, that seems starnge to me, but it is not in the list of allowable filters. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
jmac |
Posted: Mon Mar 01, 2004 3:20 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I am now of the opinion, that this will not be easy to do with the out of the box Clients.
Assuming you are only interested in workitems, the easy way to get them is to do your query using the queryWorkItems() method of the ExecutionService object. Now the problem with the webClient is that it sets the Notifications into the request context object so they are always going to be displayed. You are probably going to have to play with the listViiewer.jsp to make this happen. I've never attempted to do what you are trying, but I think I have noticed that when the worklist is being put together it looks at the 3 types of objects (activityInstanceNotifications, processInstanceNotifications, and workitems), you will need to get it to only look at the workitems.
GOOD LUCK _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Mon Mar 01, 2004 4:43 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
John,
I just tested it in out-of-the-box Fat Client and it works for filter
"Type in Workitem" _________________ -Ratan |
|
Back to top |
|
 |
jmac |
Posted: Mon Mar 01, 2004 5:36 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
OK... The doc for the WebClient does not list TYPE as a valid keyword.
I think I have the answer... might not matter to anyone but here it is anyway:
you can use TYPE in a filter for a WorkList, just not shown in the link that the web client has to the filter specification
SO bottom line is the shortest correct filter to solve this problem is
TYPE IN (WORK_ITEM) _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
CHF |
Posted: Tue Mar 02, 2004 6:47 am Post subject: |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
Can we specify notifications to UPES activities? |
|
Back to top |
|
 |
jmac |
Posted: Tue Mar 02, 2004 7:11 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Sure _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
CHF |
Posted: Tue Mar 02, 2004 10:48 am Post subject: |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
|
Back to top |
|
 |
|