manual config notif mailer 1159
DESCRIPTION
With this doc, you can see, how configurate the notification mailer in Oracle WorkflowTRANSCRIPT
Procedimiento para la implementación de E-mail Remittance Advice
Objetivo: Conseguir que el E-mail Remittance Advice sea enviado después de confirmar un lote de pago, pagos manuales o quickpayments.
Prerrequisitos: Servidor IMAP instalado y configurado con una cuenta que utilizará el proceso del Workflow Notification Mailer.
Pasos:
Paso Responsable Actividad1 SysAdmin Los clientes pueden aplicar
11i.AP.G patchset, 1986982 or11i.AP.H patchset, 2145557 or 11i.AP.I patchset, 2266561, and then standalone patch 2290857 (There is no back port of this system to any other version, i.e. 11i.AP.F, 11.03, 10.7). The standalone patch, 2290857 will fix the Workflow setup.
Or They can apply 11i.AP.J patchset, 2375849,
and then apply patch 3467539 (11.5.9:REIMPLEMENTATION OF THE SEND ACCESS KEY FEATURE), for set up 'WF: GUEST Access to Notification' profile.
or Family Pack D, 2629235, which include the fix to the Workflow setup.
2 SysAdmin Oracle Workflow 2.6, 2032040, debe estar instalado y configurado. Todos los hechos relacionados a la instalación y configuración deberian ser registrados (logged) por el grupo de AOL.
3 SysAdmin Iniciar el Workflow Mailer y habilitar profiles
4 SysAdmin Después se ejecuta el programa concurrente “Workflow Agent Listener”, usando la responsabilidad “sysadmin” de “WF_DEFERRED” o
programando el WF_DEFERRED “Listener for local inbound agents”. Use el Check Event Manager Set up en la responsabilidad “Workflow Administrator Web Applications” para iniciar el proceso actual de Workflow.
Cualquiera de estos procesos iniciará el Workflow Actual para crear el Remittance Advice.
Finalmente, cuando el proceso se complete, el Workflow Mailer, enviará el e-mail a la dirección provista en la ventana Supplier Site.
5 Funcional Payables Set up En la región de pago en la ventana “Sitio de proveedor”, añadir la dirección de e-mail en el campo Remittance advice. No hay validación en este campo, es decir, cualquiera que sea el valor puesto aquí, será usado por el WF Mailer como la dirección de e-mail de salida (outbound). Entonces, si se provee una dirección de e-mail inválida, el WF Mailer regresará el e-mail a tu sistema. Tampoco tiene la funcionalidad de reenvío. Se tendría que anular el pago, rehacerlo y crear un nuevo pago y un nuevo e-mail para el proveedor.
6 Usuario Realizar confirmación de un lote de pago o completar un pago manual o un quickpayment.
7 Aplicación De forma automática se inicia un WF event para crear el remittance advice.
NOTA: Asegurarse que se debe de ejecutar el Listener antes de empezar a poner las direcciones de e-mail en la ventana de proveedores para limpiar el que. Si no se limpia el que, entonces para cada evento que no haya sido procesado, se irá a través del chequeo de la misma regla sin importar la fecha del evento. Por lo tanto tu podrías tener e-mails enviados a los proveedores de los pagos que ya les has notificado.
Para mas información referirsae a metalink.oracle .com Nota: 183447.1 How To Get The E-mail Remittance Advice To Be Sent?
CONFIGURACION NOTIFICATION MAILER
Pre-requisitos: Solicitar al administrador de Unix que el servidor IMAP esté configurado. Validar:
$ netstat -a |grep imap *.imap *.* 0 0 49152 0 LISTENmxscbapl02.bxxi.com.41086 mxscbapl02.bxxi.com.imap 49152 0 49152 0 TIME_WAITmxscbapl02.bxxi.com.41098 mxscbapl02.bxxi.com.imap 49152 0 49152 0 TIME_WAITmxscbapl02.bxxi.com.41247 mxscbapl02.bxxi.com.imap 49152 0 49152 0 TIME_WAITmxscbapl02.bxxi.com.41255 mxscbapl02.bxxi.com.imap 49152 0 49152 0 TIME_WAITmxscbapl02.bxxi.com.41414 mxscbapl02.bxxi.com.imap 49152 0 49152 0 ESTABLISHEDmxscbapl02.bxxi.com.imap mxscbapl02.bxxi.com.41414 49152 0 49152 0 ESTABLISHEDmxscbapl02.bxxi.com.41415 mxscbapl02.bxxi.com.imap 49152 0 49152 0 TIME_WAITmxscbapl02.bxxi.com.imap mxscbapl02.bxxi.com.41421 49152 0 49152 0 TIME_WAITmxscbapl02.bxxi.com.41422 mxscbapl02.bxxi.com.imap 49152 0 49152 0 ESTABLISHEDmxscbapl02.bxxi.com.imap mxscbapl02.bxxi.com.41422 49152 0 49152 0 ESTABLISHED
$ ps -ef |grep imap root 16323 740 0 10:49:49 ? 0:00 imapd root 16330 740 0 10:49:52 ? 0:00 imapd oracle 16661 14845 0 10:50:38 pts/5 0:00 grep imap
Usuario unix workflow: wflow que pertenezca al grupo dbaHome Directory /export/home/wflowNOTA: ver anexo1 para la creación de carpetasCreación de carpetas: /export/home/wflow/process
/export/home/wflow/discard
Ejecutar:
a. Validar que los servicios esten abajob. sqlplus apps/apps_passCambiar el diagnostic Level de GSM a diag=y
SQL> update fnd_concurrent_queuesset diagnostic_level = 'D'where concurrent_queue_name like 'FNDSM_%';
SQL> commit;
2
d. Habilitar el concurrent Service Manager Concurrent / Program / Define
3
e. Asignar 1 workshift:
Levantar los servicios
4
Procedimiento:1. Entrar a la página de Oracle Applications Manager.2. Navegar a la sección Workflow Manager.
3. Dar clic en el icono Unavailable de Notification Mailers:
4. En la siguiente pantalla de Service Components se indica que el servicio no está configurado. Dar clic en el botón Edit:
5. Para los pasos 1 – Define y 2 – Details dar clic en Next:
6. En el paso 3 – Email Servers ir a la sección Inbound Email Account e indicar los siguientes datos:
Server Name: indicar el nombre del servidor en donde se tiene el IMAP configurado. Por ejemplo: mxscbapl02
Username: indicar el nombre del usuario de workflow en unix. Por ejemplo: wflow
Password: indicar la contraseña del usuario de workflow en unix. wkfw25..
7. En esta misma pantalla ir a la sección Outbound Email Account e indicar lo siguiente:
Server Name: indicar el nombre del servidor en donde se tiene el IMAP configurado. Por ejemplo: mxscbapl02
8. En esta misma pantalla ir a la sección Email Processing e indicar las carpetas que fueron creadas:
Processes Folder: PROCESSDiscard Folder: DISCARD
5
9. Dar clic en Next.
6
10. En el paso 4 – Message Generation indicar la dirección de correo del usuario dueño de las notificaciones (oracle) en el campo Reply-to Address. En el campo HTML Agent indicar la ruta del web agent:
Por ejemplo:Reply-to Address: [email protected] Agent: http://mxscbapl02.bxxi.com:8000/pls/PROD
11. Asignación de Templates:Attached URLs Workflow URL AttachmentOpen Notification Workflow Open Mail for Outlook Express
12. Dar clic en Next.13. En el paso 5 – Schedule Events, 6 – Tags, 7 – Test dar clic en Next.14. El último paso es la sección Review:
7
15. Dar clic en Finish para completar la instalación.
16. En el OAM ir a la sección Applications System > Workflow > Service Components y dar clic en Container: Workflow Mailer Service:
8
17. Seleccionar la opción Start All y dar clic en Go para levantar los servicios:
18. Verificar que el status de los componentes sea Active y que el Workflow Notification Mailer se encuentre en Running.
$ sqlplus applsysSQL> drop index WF_LOCAL_USER_ROLES_PK;SQL> drop index WF_LOCAL_USERS_PK;SQL> drop index WF_LOCAL_ROLES_PK;
- Compilar objetos inválidos de WF
- Habilitar Configuration Mailer Nota Referencia: 277839.1
1. Set the 'WF: GUEST Access to Notification' profile option to "Enabled" at the site level. 2. Create a function grant and assign the WF_GUEST_GRANTS function set
to the Guest user.
- Asignarse la responsabilidad Functional Administrator, security group standard
a. Navigate to the Functional Administrator responsibility. Choose the Security tab and click the Create Function Grant button to create a grant.
b. Select Specific User and enter Guest as the Grantee. Click Next. c. Enter WF_GUEST_GRANTS as the Function Set. Click Next. d. Enter todays date as the Start Date. Click Finish. e. Stop and restart Oracle HTTP Server. - Replicar el paso 2.b cambiando a ALL USERS.
3. In Oracle Applications Manager, stop and restart all services.
Calendarizar el Synchronize Ejecutar diario a las 10:00 pm
9
10
ANEXO 1Para crear las carpetas PROCESS y DISCARD puede ser empleado cualquier cliente de correo (desde unix, Outlook Express, etc.). Para este ejemplo se muestra cómo fue creado desde unix:
1. Abrir la aplicación de correo.2. Ir al menú Mailbox / New Mailbox.3. Seleccionar la opción IMAP Server y a continuación se van a solicitar los siguientes
datos:
Por ejemplo:IMAP Server: mxcrmapl01Login: wflowPassword: <contraseña del usuario wflow>
4. Dar clic en Login.
11
5. En la siguiente pantalla indicar el nombre de las nuevas carpetas.6. En el campo Enter file name indicar primero: PROCESS
7. Dar clic en New Mailbox.8. A continuación, en el campo Enter file name indicar: DISCARD:
9. Dar clic en New Mailbox.
12
PARCHES QUE DEBEN APLICARSE PARA LA IMPLEMENTACION DEL WORKFLOW
CONCURRENTES QUE DEBEN ESTAR CORRIENDO
***************************************************************************************************************
Ok - Concurrent Program: FNDWFBG (3 min, 1 hr, 1 dia)
Product: FND - Application Object LibraryUser Name: Workflow Background ProcessDescription: Workflow background process for deferred and timeout activitiesEnabled: YesExecution Method: PL/SQL Stored ProcedureArgument Method: Standard
Executable: FNDWFBG
User Name: Oracle Workflow Background EngineDescription: Runs a background engine for processing deferred and/or timed out
activitiesExecution Filename: WF_ENGINE.BACKGROUNDCONCURRENT
***************************************************************************************************************
Ok - Concurrent Program : FNDWFBES_CONTROL_QUEUE_CLEANUP (12 hrs)
Product: FND - Application Object LibraryUser Name: Workflow Control Queue Cleanup
3168743 CAN'T CHANGE SCHEDULE SHIP DATE FOR ATO MODEL WITH VARIABLE AND FIXED LEAD TIMES
3313291 - AOL JAVA ROLL UP PATCH J
3440815 - AOL/J Fixes for Bug 3432371
3162988 - OA Framework Rollup Patch 5.7H - V5
Post-install step :Apply patch 3439167
3514816 - 11.5.9.5: JAVA ERROR THROWN WHEN REASSIGN BUTTON CLICKED ON MAIN WORKLIST PAGE
3458424 - RESP PICKER ISSUE IN HOMEPAGE AND PORTAL ENVIRONMENTS
3298423 - EBiz Home Page V1.5
3432914 - GLOBAL SECURITY GRANTS SHOULD NOT REQUIRE RESP/FUNCTION
3423613 - REHOST ORACLE 9iR2 JDBC DRIVERS (v9.2.0.4) FOR USE WITH ORACLE APPLICATIONS 11i
3376797 - AD_TSPACE_UTIL API PREREQ PATCH
3313291 - AOL JAVA ROLL UP PATCH J
Post-install step :Apply FND patch # 4384590
3316333 - POST 11I.OWF.G ROLLUP D - 11.5.9.4.1 (3492743)
3432833 - NEED TO ENHANCE THE VALIDATOR SCRIPT AND ERROR FIX IN WFDIRCHK.SQL
3314376 - Post 11i.OWF.G rollup 5
3409889 - CONSOLIDATED FIXES ON TOP OF OWF G ROLLUP 5
3467539 11.5.9:REIMPLEMENTATION OF THE SEND ACCESS KEY FEATURE
3052019 : INT1159.14: GET FRM 40815 GLOBAL.GHR_INSTALLATION_STATE ERROR WHEN LOADING FORMS
13
Description: Workflow Control Queue CleanupEnabled: YesExecution Method: PL/SQL Stored ProcedureArgument Method: Standard
Executable: FNDWFBES_CONTROL_QUEUE_CLEANUP
User Name: Workflow Control Queue CleanupDescription: Workflow Control Queue CleanupExecution Filename: wf_bes_cleanup.cleanup_subscribers
***************************************************************************************************************
Ok - Concurrent Program: FNDWFPR (12 hrs)
Product: FND - Application Object LibraryUser Name: Purge Obsolete Workflow Runtime DataDescription: Purge Obsolete Workflow Runtime DataEnabled: YesExecution Method: PL/SQL Stored ProcedureArgument Method: Standard
Executable: FNDWFPR
User Name: Oracle Workflow Purge Obsolete DataDescription: Purges obsolete workflow dataExecution Filename: WF_PURGE.TotalConcurrent
***************************************************************************************************************
Ok - Workflow Agent Listener (FNDWFLST) (5 mins con el parametro WF_ERROR)
A new Workflow Agent Listener concurrent program is used to dequeue messages from Business Event System Inbound Agents. This concurrent program is available from the System Administrator Reports group, usually available in the System Administrator responsibility. You should periodically run the Workflow Agent Listener for the WF_ERROR agent to ensure that the System Administrator is notified of any errors or warnings. Additionally, if you expect messages to be enqueued on the WF_IN agent or any inbound agents, you should run the Workflow Agent Listener for these Agents
***************************************************************************************************************
ok - Synchronize WF LOCAL tables (FNDWFLSC) 1 dia (report set)
***************************************************************************************************************
ok - OAM Applications Dashboard Collection (FNDOAMCOL) 10 mins
14