Siebel Email Administration Guide > Managing Workflows for Siebel Email Response >
Running the Process Simulator
After modifying a workflow, test the changes to make sure they are working properly. To modify and test changes to the workflow process, use the Process Simulator. To use the Process Simulator, the administrator must set up the eMail Response - Process Message workflow to run in test mode. For more information about the Process Simulator, see Siebel Business Process Framework: Workflow Guide. In the production environment, Communications Inbound Processor executes the eMail Response - Process Message workflow. In test mode, process properties for the workflow are loaded from an XML file, not dynamically loaded by the Communications Inbound Processor server component, to enable the administrator to modify each parameter individually. To modify test XML files (example)
- Copy the test XML files from the sample database subdirectory (
sample\applications\email_response ).
NOTE: Test XML files are installed when you install the Sample Database.
- Create a new directory on your Siebel Server (for example,
C:\testmode ).
NOTE: You do not need to use this exact location on your Siebel Server as long as you modify the XML file to reference the new directory. If the directory in which you copy the test mode files is not C:\testmode , then you must modify the OrigMsgFile parameter in the XML file to match the directory that you create for the files.
- Copy the test files from the sample database subdirectory to your new directory.
- Open the testmode.xml file in the text editor that you use for these files.
NOTE: If files with the XML extension are mapped to open in your Web browser, open the text editor, and then open the file from the text editor.
- Modify the required parameters in the following table.
|
|
|
CcList |
"replaceme@example.com;test @test.com;casey_cheng @example.com" |
Optional. A semicolon-delimited list of email addresses in the CC field of the message, enclosed in double quotation marks. |
HasAttach |
N |
Do not modify. |
Loopback_spcCandidate |
N |
Optional. Change to Y if the message is a loop-back candidate. |
MsgClass |
IPM.Note |
Do not modify. |
OrigMsgFile |
C:\testmode\OriginalMessageText _3B88245D00000001.txt
|
Optional. A file path pointing to the original message file. |
Prefix |
None |
Do not modify. |
Received |
08/25/11 15:20:40 |
Optional. The time the email server receives the message. |
ReceiverAddress |
replaceme@example.com |
Required. The email address of a working Siebel Communications Server profile on your server. |
ReceiverName |
replaceme@example.com |
Required. The name of a working Siebel Communications Server profile on your server. |
SenderAddress |
casey_cheng@example.com |
Required. The email address of the sender of the message. |
SenderAddrType |
None |
Optional. The type of sender address. |
SenderName |
Casey Cheng |
Required. The text name of the message sender. |
SenderReplyNames |
The customer's name |
The text name of the person to whom the reply is sent. |
Sent |
08/25/11 15:20:26 |
Optional. The time that the message is sent. |
SiebelChannelProfile |
replaceme@example.com |
Required. Same as the ReceiverAddress field. |
SiebelChannelType |
Email |
Do not modify. |
SiebelChannelTypeString |
POP3SMTP |
Do not modify. |
SiebelDriverEventName |
MsgRead |
Do not modify. |
SiebelDriverNotifyWhen Done |
0 |
Do not modify. |
SiebelWorkItemID |
10-3SYAC##998778040:1 |
Do not modify. |
Subject |
This subject is a test. |
Optional. The text in the subject line of an email message. |
TextNote |
Fundamentally, computers just deal with numbers. |
Optional. The plain text version of the email message body. |
TextNoteCharset |
us-ascii |
Do not modify. |
ToList |
test2@example.com |
Required. The email address to which the message is sent. |
- Save and close the XML file.
Setting Up Test Mode Process
After modifying the XML file, the administrator must use Siebel Tools to set up the Enable Test Mode process. To set up the Enable Test Mode process
- In Siebel Tools Object Explorer, select the Workflow Processes object.
- In the Workflow Processes list, query for a process name of eMail Response - Process Message.
- In the Workflow Processes list, select eMail Response - Process Message and then click Revise.
The status of the workflow changes to In Progress.
- In the WF Processes list, right-click eMail Response - Process Message and choose Edit Workflow Process.
The Business Process Designer appears.
- In the Workflow Process Props list, select XmlTestFileName.
- In the Default String field, enter the complete directory path and the file name of the test XML file.
NOTE: You must include the complete directory path to this file.
- In the History Toolbar, click Back to return to Siebel Tools.
- In the Workflow Processes list, right-click eMail Response - Process Message and choose Simulate Workflow Process.
The Process Simulator starts.
|