Siebel Email Response Administration Guide > Setting Up Siebel Email Response Workflows > Using the eMail Response - Process Message Workflow >

Setting Up a Workflow Process to be Test Mode Enabled (Workflow Decision Point)


After modifying a workflow, test the changes to make sure they are working properly. To use the Process Simulator, the administrator must set up the workflow process to run in Test Mode. To modify and test changes to the workflow process, use the Process Simulator. See Figure 13 for an illustration of this process.

Figure 13. Enable Test Mode?

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. This allows the administrator to modify each parameter individually.

To run the Process Simulator, the administrator must perform the following tasks:

  • Modify test XML files.
  • Set up the workflow process.

To modify test XML files (Example)

  1. 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.

  2. 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 copied the test mode files is not c:\testmode, you must modify the OrigMsgFile parameter in the XML file to match the directory you created for the files.

  3. Copy the test files from the sample database subdirectory to your newly created directory.
  4. Open the testmode.xml file in the text editor you use for these files.

    NOTE:  Files with the XML extension might be mapped to open in your web browser. If so, you should open the text editor and then open the file from the text editor.

  5. Use Table 13 to modify the required parameters.
  6. Save and close the XML file.
    Table 13. Output Arguments and Descriptions
    Output Argument
    Example of a Value
    Description

    CcList

    "replaceme@replaceme.com;test@test.com;casey_cheng@yourcompany.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. Changes to Y if the message is identified as 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

     

    Do not modify.

    Received

    08/25/01 15:20:40

    Optional. The time the email server receives the message.

    ReceiverAddress

    replaceme@replaceme.com

    Required. Email address of a working Communications Server Profile on your server.

    ReceiverName

    replaceme@replaceme.com

    Required. Name of a working Communications Server Profile on your server.

    SenderAddress

    casey_cheng@yourcompany.com

    Required. Email address of the sender of the message.

    SenderAddrType

     

    Optional. Type of sender address.

    SenderName

    Casey Cheng

    Required. The text name of the message sender.

    SenderReplyNames

    The customer's name

    The text name to whom the reply will be sent.

    Sent

    08/25/01 15:20:26

    Optional. The time that the message was sent.

    SiebelChannelProfile

    replaceme@replaceme.com

    Required. Same as the ReceiverAddress.

    SiebelChannelType

    Email

    Do not modify.

    SiebelChannelTypeString

    POP3SMTP

    Do not modify.

    SiebelDriverEventName

    MsgRead

    Do not modify.

    SiebelDriverNotifyWhenDone

    0

    Do not modify.

    SiebelWorkItemID

    10-3SYAC##998778040:1

    Do not modify.

    Subject

    This is a test subject.

    Optional. 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@test.com

    Required. Email address to which the message was sent.

To set up the Enable Test Mode process

  1. In Siebel Tools Object Explorer , select the Workflow Processes object.
  2. In the Workflow Processes list, perform a query for Process Name = eMail Response Process Message.
  3. In the Workflow Processes list, select eMail Response Process Message and then click Revise.

    The Status field changes to In Progress.

  4. In the Workflow Processes list, right-click eMail Response Process Message and choose Edit Workflow Process.

    The Business Designer appears.

  5. In the WF Process Props list, select XmlTestFileName.
  6. 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.

  7. In the History Toolbar, click Back to return to Siebel Tools.
  8. In the Workflow Processes list, right-click eMail Response Process Message and choose Simulate Workflow Process.

    The Process Simulator starts. For more information about the Process Simulator, see Siebel Business Process Designer Administration Guide.

Siebel Email Response Administration Guide Copyright © 2008, Oracle. All rights reserved.