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 » MQSeries WebClient advice needed

Post new topic  Reply to topic
 MQSeries WebClient advice needed « View previous topic :: View next topic » 
Author Message
djharte
PostPosted: Wed Oct 30, 2002 10:07 am    Post subject: MQSeries WebClient advice needed Reply with quote

Apprentice

Joined: 02 Oct 2002
Posts: 26

Hi,
I was wondering if anyone could shed some light on the following problem. When I go around my workflow (using jsps) I want to come back to the start, once the final activity has ended. Also, I want to do this without viewing any of the JSP viewer pages.
So far, I have written my own viewer overwriting the loginreponse() function, which now instantiates a process template and selects the first work item in its list. However once I then get to the end of this workflow, I am unsure on how to loop back around, i.e. creating once again another template process and starting its first work item without logging in again.

Can anyone brighten my day ?

Many thanks
David
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Oct 30, 2002 11:17 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

You can try putting your code that you are using to start an instance into a command, and invoke this command (via a CommandHandler) when your instances are complete.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
amittalekar
PostPosted: Wed Oct 30, 2002 11:25 am    Post subject: Reply with quote

Disciple

Joined: 03 Apr 2002
Posts: 166
Location: VA, USA

If u want to do this using FDL then just add Process Activity at the end of ur current process and in properties for this process select process name as the "same current parent process Name".
Back to top
View user's profile Send private message Yahoo Messenger
kriersd
PostPosted: Wed Oct 30, 2002 11:54 am    Post subject: Reply with quote

Master

Joined: 22 Jul 2002
Posts: 209
Location: IA, USA

djharte

It's unclear to me what exactly your attempting to do. If I am reading this correctly, you would like to know how to end up back at the process template list and auto invoke the "Create & Start Instance" when the template list page is loaded?

Here is one suggestion... You could create a custom JSP page that puts an XML message on the "EXEXMLINPUTQ" to start the process. Workflow will create and start the process for you.

Here is another tip.. Did you know that you can stack commands sent to WF.
Code:
http://mycompany.com/MQWF-WebClient/servlet/Main?command=logon&userID=ADMIN&password=password&command2=checkoutworkitem=xa123a8765a

_________________
Dave Krier

IBM WebSphere MQ Workflow V3.4 Solution Designer
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Oct 30, 2002 12:15 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Dave:

Are you actually using this trick?

Code:
http://mycompany.com/MQWF-WebClient/servlet/Main?command=logon&userID=ADMIN&password=password&command2=checkoutworkitem=xa123a8765a



The documented use of this is for Logon Splicing. What I was wondering is if you have ever stacked 2 commands the first of which is NOT a logon?
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
kriersd
PostPosted: Mon Nov 10, 2003 7:52 pm    Post subject: Reply with quote

Master

Joined: 22 Jul 2002
Posts: 209
Location: IA, USA

Sorry for the late reply Jmac

Yes, I have stacked the commands before. It worked great until I went to lunch one day, came back to my desk started working, and found my session had timed out. Then it droped my second stacked command when it popped up the logon.jsp and I reauthenticated. I am not sure this is a "best practices" approach, but it did work as long as I didn't let the session time out. The bad thing is that the userid and password are visible in the URL.

Question - Would I be able to hide the userid and password if I make a POST request to a servlet. Have the servlet redirect the request to logon to Workflow after populating the url with userid and password?

My problem is that I need to find a way to bypass the logon screen. I already have the userid and password encryped and stored in a cookie. I would like to find a way to use the stored userid and password to bypass the Workflow logon rather than force the user to logon twice.
_________________
Dave Krier

IBM WebSphere MQ Workflow V3.4 Solution Designer
Back to top
View user's profile Send private message
ucbus1
PostPosted: Tue Nov 11, 2003 9:35 am    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

DGharte,
Yes I agree with Kriersd's approach of putting the XML back into "EXEXMLINPUTQ". Please note to put in a alias queue for "EXEXLIPUTQ" rather than directly into. I read somewhere that it is the bvest practice
Back to top
View user's profile Send private message Send e-mail
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 » MQSeries WebClient advice needed
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.