Author |
Message
|
kutulu2000 |
Posted: Thu Mar 01, 2007 2:26 pm Post subject: UPES in 3.3.2 |
|
|
 Acolyte
Joined: 08 Nov 2005 Posts: 63 Location: Mexico
|
|
Back to top |
|
 |
vijaycr |
Posted: Thu Mar 01, 2007 7:05 pm Post subject: |
|
|
 Acolyte
Joined: 11 Oct 2006 Posts: 62 Location: Singapore
|
I think your activity is not configured to start Automatically. This is not mentioned in the URL that u specified. So, probably thats what you missed out.
From the context of the process described in the URL, after the last step you must open the start tab of "Update Credit Info" activity and mark the start type to automatic. |
|
Back to top |
|
 |
vijaycr |
Posted: Thu Mar 01, 2007 9:29 pm Post subject: |
|
|
 Acolyte
Joined: 11 Oct 2006 Posts: 62 Location: Singapore
|
Sorry, I guess I got u wrong, If I understand correct ly, the UPES activity starts and finishes, but u still dont have a message in the Q.
Posting your FDL might expedite a solution... |
|
Back to top |
|
 |
jmac |
Posted: Fri Mar 02, 2007 6:21 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I agree with vijaycr.... It is unclear to me what your problem is... Post the FDL, and or give a detailed explanation of what the problem is. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
kutulu2000 |
Posted: Fri Mar 02, 2007 7:17 am Post subject: |
|
|
 Acolyte
Joined: 08 Nov 2005 Posts: 63 Location: Mexico
|
Ok, Thanx Here is the fdl.
I appreciate your help.
/*
*
* FDL definitions generated by MQSeries Workflow at 2007-03-02, 09:12:22 a.m..
*
*/
CODEPAGE 1252
FM_RELEASE V3R3 2
/*
* PROGRAMs
*/
UPDATE PROGRAM 'Dummy'
STRUCTURES_FROM_ACTIVITY
NOT UNATTENDED
SOLARIS EXE PATH_AND_FILENAME "prueba"
INHERIT ENVIRONMENT
DO NOT RUN_IN_XTERM
WINNT EXE PATH_AND_FILENAME "fmcsiyes.exe"
PARAMETER "¿Avanza a la siguiente etapa?"
INHERIT ENVIRONMENT
STYLE VISIBLE
START FOREGROUND
END 'Dummy'
UPDATE PROGRAM 'FMCINTERNALNOOP'
DESCRIPTION ""
STRUCTURES_FROM_ACTIVITY
UNATTENDED
END 'FMCINTERNALNOOP'
UPDATE PROGRAM 'CheckInventory' ( 'OrderFulfillmentDS', 'OrderFulfillmentDS' )
DESCRIPTION "El usuario tiene que indicar si el producto se encuentra en el stock o no."
NO STRUCTURES_FROM_ACTIVITY
NOT UNATTENDED
WINNT EXE PATH_AND_FILENAME "fmcsiyes.exe"
PARAMETER "Is product ID %OrderedItems.ProdID% in stock in quantity %OrderedItems.Qty%?"
INHERIT ENVIRONMENT
STYLE VISIBLE
START FOREGROUND
END 'CheckInventory'
UPDATE PROGRAM 'CreateShippingList' ( 'OrderFulfillmentDS', 'OrderFulfillmentDS' )
DESCRIPTION "Creates a text file representing a shipping list for the ordered item; also creates an invoice"
NO STRUCTURES_FROM_ACTIVITY
UNATTENDED
WINNT EXE PATH_AND_FILENAME "crshipl.cmd"
PARAMETER "%CustID% %OrderedItems.Qty% %OrderedItems.ProdID% %OrderedItems.Total%"
INHERIT ENVIRONMENT
STYLE MINIMIZED
NO START FOREGROUND
END 'CreateShippingList'
UPDATE PROGRAM 'ConfirmShipment' ( 'OrderFulfillmentDS', 'OrderFulfillmentDS' )
DESCRIPTION "User is to confirm shipment of the ordered items"
NO STRUCTURES_FROM_ACTIVITY
NOT UNATTENDED
WINNT EXE PATH_AND_FILENAME "fmcsiyes.exe"
PARAMETER "Confirm shipment of %OrderedItems.Qty% item(s) '%OrderedItems.ProdID%'?"
INHERIT ENVIRONMENT
STYLE VISIBLE
START FOREGROUND
END 'ConfirmShipment'
UPDATE PROGRAM 'DisplayShippingList' ( 'OrderFulfillmentDS', 'OrderFulfillmentDS' )
DESCRIPTION "Displays a text file representing a shipping list for the ordered item(s)"
NO STRUCTURES_FROM_ACTIVITY
NOT UNATTENDED
WINNT EXE PATH_AND_FILENAME "notepad.exe"
PARAMETER "%CustID%_s.txt"
INHERIT ENVIRONMENT
STYLE VISIBLE
START FOREGROUND
END 'DisplayShippingList'
UPDATE PROGRAM 'PrintInvoice' ( 'OrderFulfillmentDS', 'OrderFulfillmentDS' )
DESCRIPTION "User has to print and mail invoice to customer"
NO STRUCTURES_FROM_ACTIVITY
NOT UNATTENDED
WINNT EXE PATH_AND_FILENAME "notepad.exe"
PARAMETER "%CustID%_i.txt"
INHERIT ENVIRONMENT
STYLE VISIBLE
START FOREGROUND
END 'PrintInvoice'
UPDATE PROGRAM 'UPESProgram' ( 'Default Data Structure', 'Default Data Structure' )
DESCRIPTION ""
NO STRUCTURES_FROM_ACTIVITY
UNATTENDED
WINNT EXE PATH_AND_FILENAME "UPESProgram.exe"
INHERIT ENVIRONMENT
STYLE VISIBLE
START FOREGROUND
END 'UPESProgram'
/*
* SERVERs
*/
SERVER 'UPESTEST'
DESCRIPTION "UPES de prueba"
RELATED_GROUP 'FMCGRP'
RELATED_SYSTEM 'FMCSYS'
TYPE USER_DEFINED_PROGRAM_EXECUTION_SERVER
MQSYSTEM MQSERIES
MESSAGE_FORMAT XML
PHYSICAL_QUEUE_NAME "QL.MQWF.CORP.PETICION"
QUEUE_MANAGER_NAME "FMCQM"
VERSION 3
RELEASE 3
LEVEL 0
END 'UPESTEST'
SERVER 'UPEST1'
DESCRIPTION "Otro UPES de prueba"
RELATED_GROUP 'FMCGRP'
RELATED_SYSTEM 'FMCSYS'
TYPE USER_DEFINED_PROGRAM_EXECUTION_SERVER
MQSYSTEM MQSERIES
MESSAGE_FORMAT XML
PHYSICAL_QUEUE_NAME "QL.MQWF.CORP.PETICION"
QUEUE_MANAGER_NAME "FMCQM"
VERSION 3
RELEASE 3
LEVEL 0
END 'UPEST1'
/*
* PROCESSes
*/
/*
* PROCESS TestVida
*/
UPDATE PROCESS 'TestVida' ( 'Default Data Structure', 'Default Data Structure' )
DESCRIPTION "C|%TpoTram%|%Poliza%|%Oferta%|%NoContrato%|%Producto%|%Prioridad%|%CodFiliacion%|%ClaveUnicaAgente%|%Starter%|%StartTime%|%OdS%|%OT%|%TipoRango%|%Guia%|%Solicitud%|%VerPoliza%|%AreaCreadora%|%LineaProduccion%|%LugarEnvio%|%Documentacion%|%VM%|%Nombre%"
CATEGORY 'PruebasVidaGrupo'
DO NOT PROMPT_AT_PROCESS_START
WINDOW VIEW_REFERENCE_POINT XPOS 0 YPOS 20
WINDOW SHOW ALL CONNECTORS
WINDOW SHOW TRANSITION_CONDITIONS
ICON "EXMWMIBA"
SOURCE 1 XPOS 0 YPOS 800
SINK 1 XPOS 0 YPOS -600
PROGRAM_ACTIVITY 'TV1' ( 'Default Data Structure', 'Default Data Structure' )
DESCRIPTION "C|%TpoTram%|%Poliza%|%Oferta%|%NoContrato%|%Producto%|%Prioridad%|%CodFiliacion%|%ClaveUnicaAgente%|%Starter%|%StartTime%|%OdS%|%OT%|%TipoRango%|%Guia%|%Solicitud%|%VerPoliza%|%AreaCreadora%|%LineaProduccion%|%LugarEnvio%|%Documentacion%|%VM%|%Nombre%"
START MANUAL WHEN AT_LEAST_ONE CONNECTOR TRUE
EXIT AUTOMATIC
LAYOUT XPOS 0 YPOS 600
ICON "S_SCREN "
NAME_POSITION XPOS 0 YPOS 525
PRIORITY DEFINED_IN INPUT_CONTAINER
DONE_BY PERSON 'OMGUTIER'
PROGRAM 'UPESProgram'
PROGRAM_EXECUTION_UNIT 'UPEST1.FMCSYS.FMCGRP'
SYNCHRONIZATION NESTED
END 'TV1'
PROGRAM_ACTIVITY 'TV2' ( 'Default Data Structure', 'Default Data Structure' )
DESCRIPTION "C|%TpoTram%|%Poliza%|%Oferta%|%NoContrato%|%Producto%|%Prioridad%|%CodFiliacion%|%ClaveUnicaAgente%|%Starter%|%StartTime%|%OdS%|%OT%|%TipoRango%|%Guia%|%Solicitud%|%VerPoliza%|%AreaCreadora%|%LineaProduccion%|%LugarEnvio%|%Documentacion%|%VM%|%Nombre%"
START MANUAL WHEN AT_LEAST_ONE CONNECTOR TRUE
EXIT AUTOMATIC
LAYOUT XPOS 0 YPOS 200
ICON "FMCBINFA"
NAME_POSITION XPOS 0 YPOS 125
PRIORITY DEFINED_IN INPUT_CONTAINER
DONE_BY PERSON 'OMGUTIER'
PROGRAM 'UPESProgram'
PROGRAM_EXECUTION_UNIT 'UPEST1.FMCSYS.FMCGRP'
SYNCHRONIZATION CHAINED
END 'TV2'
PROGRAM_ACTIVITY 'TV4' ( 'Default Data Structure', 'Default Data Structure' )
DESCRIPTION "C|%TpoTram%|%Poliza%|%Oferta%|%NoContrato%|%Producto%|%Prioridad%|%CodFiliacion%|%ClaveUnicaAgente%|%Starter%|%StartTime%|%OdS%|%OT%|%TipoRango%|%Guia%|%Solicitud%|%VerPoliza%|%AreaCreadora%|%LineaProduccion%|%LugarEnvio%|%Documentacion%|%VM%|%Nombre%"
START MANUAL WHEN AT_LEAST_ONE CONNECTOR TRUE
EXIT AUTOMATIC
LAYOUT XPOS 0 YPOS -200
ICON "S_SCREN "
NAME_POSITION XPOS 0 YPOS -275
PRIORITY DEFINED_IN INPUT_CONTAINER
DONE_BY PERSON 'OMGUTIER'
PROGRAM 'UPESProgram'
PROGRAM_EXECUTION_UNIT 'UPEST1.FMCSYS.FMCGRP'
SYNCHRONIZATION NESTED
END 'TV4'
CONTROL
FROM 'TV1' TO 'TV2'
LAYOUT
XPOS 0 YPOS 300
CONTROL
FROM 'TV2' TO 'TV4'
DATA
FROM 'TV2' TO 'TV4'
MAP '_STRUCT' TO '_STRUCT'
LAYOUT
XPOS -100 YPOS -100
DATA
FROM 'TV4' TO SINK 1
MAP '_STRUCT' TO '_STRUCT'
LAYOUT
XPOS 0 YPOS -500
DATA
FROM 'TV1' TO 'TV2'
MAP '_STRUCT' TO '_STRUCT'
LAYOUT
XPOS -100 YPOS 300
DATA
FROM SOURCE 1 TO 'TV1'
MAP '_STRUCT' TO '_STRUCT'
END 'TestVida' _________________ #10 |
|
Back to top |
|
 |
jmac |
Posted: Fri Mar 02, 2007 7:38 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
This FDL does not contain the Data Structures, so you can not import it. Also, please give me a detailed explanation of what the problem is and I will try and help. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
kutulu2000 |
Posted: Fri Mar 02, 2007 8:05 am Post subject: |
|
|
 Acolyte
Joined: 08 Nov 2005 Posts: 63 Location: Mexico
|
Thanx Jmac.
The problem is the following;
I have a diagram with 3 activities. We required that Workflow Engine sends a message to a defined UPES to take de information and fill a database in each activity.
So, we execute the first program activity, change the state flow ( move to the next program activity ) and verify if there is a message on the upes Q, but there is no message there.
The configuration of the UPES was made following the instructions that I post before.
I think the activities don't must be automatic, in the start, because we must wait for the user response. _________________ #10 |
|
Back to top |
|
 |
jmac |
Posted: Fri Mar 02, 2007 8:12 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Yes, I can see your process... but all three activities TV1, TV2 and TV3 are all UPES activities. Generally an activity that you need to have Human Intervention on, will be a PEA activity, and as you say not automatic.
I think you need some help on the process design. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
kutulu2000 |
Posted: Fri Mar 02, 2007 9:00 am Post subject: |
|
|
 Acolyte
Joined: 08 Nov 2005 Posts: 63 Location: Mexico
|
mmmmmmmmm, ok.
But then If I want to obtain the message from the Upes Q, the activity don't must be manual?
If we use the webclient to make the test, and configure the activities manual with an execution of UPES, the message never is sent? _________________ #10 |
|
Back to top |
|
 |
jmac |
Posted: Fri Mar 02, 2007 9:11 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
You appear to be confused as to exactly how MQWF works in terms of UPES vs Human Activities.
I am not sure what you are trying to do, so I really can't help much. I think you need to have someone who is familiar with what you are doing come in and help. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|