w2vijay
Well Known Member
Hi All,
I am trying to learn how to design and execute workflow in JDE .For this to start with Created simple workflow with Start, end and Information task which sends message using workflow modeler.
Created the key and additional data structure required for the workflow. Also custom DD for the message.
Validated the workflow and there are no errors.
Objective here is to send message(external-to email id) to specific address number present in the work order record that a value has been changed or record is updated in application. To achieve this created one sample application( find browse and headerless detail forms) on work order table F4801. Select the work order from find browse form and navigate to headerless detail to update status code of work order. At this point I am checking the current value with old value and calling the workflow above if status codes are not equal.
I made the required jde.ini configurations in both FAT client and enterprise server as per the documentation.
Setup mail preference for the user in address book
FLAT CLIENT.
[JDEMAIL] section of the jde.ini file.
changed rule2,3,4 to our exchange server domain name.
Verified the setup of SMTP server from DOS command.
http://support.microsoft.com/kb/q153119/ - Here is the link on how to test from both FAT client and Enterprise Server.
ENT SERVER
[JDEMAIL] section of the jde.ini file.
changed rule2,3,4 to our exchange server domain name.
Verified the setup of SMTP server from DOS command.
made the autostartprocess to 1 of Workflow kernel.
Changed the WRIUSER,WRIPassword,WRIEnvironment at workflow location.
When we execute the application and changed the record. Workflow is not trigged to send the message to external email id we setup. Workflow kernel is initialized,Interop is on but failed to read <WORKFLOW>:<WRIEnvironment>. Below is the error we see in the jde.log
2452/5808 UNKNOWN Thu Mar 29 19:57:27.293000 WfDispNet.cpp4088
CONFIGURATION ERROR - DispatchWF_Init - failed to read <WORKFLOW>:<WRIEnvironment> in jde.ini
2452/5808 UNKNOWN Thu Mar 29 19:57:27.575000 Jdb_omp1.c3265
JDB9900262 - Failed to fetch record from F986101
2452/5808 UNKNOWN Thu Mar 29 19:57:27.637000 Jdb_omp1.c1575
JDB9900244 - No default record exist for tables for environment in OCM.
Attached the entire jde.log for reference. Please let me know if any more details are required to resolve this issue. My feeling are we doing anything wrong in the WRIUser,WRIPassword,WRIEnvironment. We have tested the userid and provided the same values in jde.ini of enterprise server.
I am trying to learn how to design and execute workflow in JDE .For this to start with Created simple workflow with Start, end and Information task which sends message using workflow modeler.
Created the key and additional data structure required for the workflow. Also custom DD for the message.
Validated the workflow and there are no errors.
Objective here is to send message(external-to email id) to specific address number present in the work order record that a value has been changed or record is updated in application. To achieve this created one sample application( find browse and headerless detail forms) on work order table F4801. Select the work order from find browse form and navigate to headerless detail to update status code of work order. At this point I am checking the current value with old value and calling the workflow above if status codes are not equal.
I made the required jde.ini configurations in both FAT client and enterprise server as per the documentation.
Setup mail preference for the user in address book
FLAT CLIENT.
[JDEMAIL] section of the jde.ini file.
changed rule2,3,4 to our exchange server domain name.
Verified the setup of SMTP server from DOS command.
http://support.microsoft.com/kb/q153119/ - Here is the link on how to test from both FAT client and Enterprise Server.
ENT SERVER
[JDEMAIL] section of the jde.ini file.
changed rule2,3,4 to our exchange server domain name.
Verified the setup of SMTP server from DOS command.
made the autostartprocess to 1 of Workflow kernel.
Changed the WRIUSER,WRIPassword,WRIEnvironment at workflow location.
When we execute the application and changed the record. Workflow is not trigged to send the message to external email id we setup. Workflow kernel is initialized,Interop is on but failed to read <WORKFLOW>:<WRIEnvironment>. Below is the error we see in the jde.log
2452/5808 UNKNOWN Thu Mar 29 19:57:27.293000 WfDispNet.cpp4088
CONFIGURATION ERROR - DispatchWF_Init - failed to read <WORKFLOW>:<WRIEnvironment> in jde.ini
2452/5808 UNKNOWN Thu Mar 29 19:57:27.575000 Jdb_omp1.c3265
JDB9900262 - Failed to fetch record from F986101
2452/5808 UNKNOWN Thu Mar 29 19:57:27.637000 Jdb_omp1.c1575
JDB9900244 - No default record exist for tables for environment in OCM.
Attached the entire jde.log for reference. Please let me know if any more details are required to resolve this issue. My feeling are we doing anything wrong in the WRIUser,WRIPassword,WRIEnvironment. We have tested the userid and provided the same values in jde.ini of enterprise server.