|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to generate UPES message from Web Client request |
« View previous topic :: View next topic » |
Author |
Message
|
cstauss |
Posted: Fri May 24, 2002 7:11 am Post subject: How to generate UPES message from Web Client request |
|
|
Apprentice
Joined: 20 Feb 2002 Posts: 36
|
Hi,
I would like to be able to generate a UPES message from a work item started though the Web Client. Check-in /check-out seems to bypass the execution behavior that has been modeled in favor of HTML forms or JSPs. That's well and good, but I'd like the flexibility of generating messages by UPES also...
Any help appreciated!
cas |
|
Back to top |
|
 |
steinra |
Posted: Fri May 24, 2002 8:54 pm Post subject: |
|
|
 Apprentice
Joined: 23 May 2002 Posts: 28 Location: USA
|
Cas,
Do you want to do one or the other or both at the same time?
Do you want the user to look at the list and click the button that sends the message to the UPES and then removes the item from the worklist?
If the answer is yes to the second question then I think you need to implement a "start activity" action in the web client in addition to the "checkout action". I have been wanting to do this myself because I have UPES based activities that can error out and end up on the admin users work list. The way I restart these activities now is I use the thick workflow client, select the work items in the list and then select the start action.
If you are using the IBM web client then I do not believe there is a built in command to do a start action (I don't have my docs here at home). You may need to build a custom command to do that action on the work item.
Let me know if this is what you are trying to do. If it is I would like to know myself so I would be glad to help by digging through the web client docs a bit .
Randy |
|
Back to top |
|
 |
jmac |
Posted: Sat May 25, 2002 6:15 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Randy/Cas:
The solution as Randy states is to write your own command (see the command handler doc) that will start the workitem. Probably we are talking about 6 or 8 lines of code max. The Thin client can be made to start a workitem, but then it can not checkout workitems. There is some parameter in webclient.properties that allows you to have the checkout action actually issue start.
If you continue to have trouble with this post a followup and I will look for the code to do what you are wanting.
GOOD LUCK. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
cstauss |
Posted: Sat May 25, 2002 7:37 am Post subject: |
|
|
Apprentice
Joined: 20 Feb 2002 Posts: 36
|
Randy, John,
Thanks for the replies!
First, I am not trying to have multiple behaviors at once-I'm mostly investigating possible implementation options. So, it looks like that will entail writing a custom command handler. This makes sense to me. I have experimented with some of the other command handlers that come with the thin client. I'll have to look more carefully through the Web Client docs for procedure on this...
cas |
|
Back to top |
|
 |
cstauss |
Posted: Thu Jun 27, 2002 6:31 am Post subject: |
|
|
Apprentice
Joined: 20 Feb 2002 Posts: 36
|
IBM support just got back to me on this issue-
In order to start an activity via UPES or PEA from the Web Client, you must de-select the inherited option for "activity can be checked out" on the control tab of the activity
Furthermore, if you use a PEA, you must manually start the PEA prior to the process start (fmcxspea), and the userid you use for the PEA must match the user for the activity. I tested this, and it works...
cas |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|