ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » requestcontext , worklists

Post new topic  Reply to topic
 requestcontext , worklists « View previous topic :: View next topic » 
Author Message
MQRR
PostPosted: Thu Jul 29, 2004 10:41 pm    Post subject: requestcontext , worklists Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

Hello everyone,
We have an application where we are customizing the workflow webclient.
The default page I am displaying after logon is worklist of the logged in user instead of default list of lists page.
So from there user can naviagte to different jsps where he can start workflow process etc.. And for example if he creates the workflow process instance I would like to take him back to my starting page the worklist page, but when I am manipulating the createandstartresponse method and redirect to worklist page I am getting null pointer when I say context.getworklist.name() so obviously context is not have this information and I tried another thing , i.e I am tried to get builtinhandler and do another wueryworkitems just as we have in logonresponse(in JSPViewer) still it does not work???? anyone know what is happening.
And finally all this boils down to is when I come to my default page from anywhere I just want to make sure the context has worklist and i could get context.getworkitems so that I could display the workitems in the worklist. Sorry for the lengthy one but I thought I would explain it all once
Thanks in advance
MQRR
Back to top
View user's profile Send private message
belka
PostPosted: Mon Aug 02, 2004 10:24 am    Post subject: Reply with quote

Novice

Joined: 16 Jun 2004
Posts: 17

after you did "builtinhandler.queryWorkItems(request, response)" did you get work items array?

i'm not sure if this is the "right way" of doing it, because i'm new at this too, but try

create a new context
use builtinhandler to get work list
then use work list to get work items
use context.setWorkItems(worklist, work items)
_________________
-belka
Back to top
View user's profile Send private message MSN Messenger
MQRR
PostPosted: Mon Aug 02, 2004 9:01 pm    Post subject: Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

are you saying, these should be done in the JSP?
Back to top
View user's profile Send private message
belka
PostPosted: Tue Aug 03, 2004 5:04 am    Post subject: Reply with quote

Novice

Joined: 16 Jun 2004
Posts: 17

no. in the response method of your custom viewer (whatever response method you're overwriting)
_________________
-belka
Back to top
View user's profile Send private message MSN Messenger
MQRR
PostPosted: Wed Aug 04, 2004 12:30 am    Post subject: Reply with quote

Centurion

Joined: 10 Aug 2003
Posts: 110

I will give it a try, I think I tried this once before a while ago, may be I might have done something wrong I will give another try.
thank you
MQRR
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » requestcontext , worklists
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.