Parsing Message Text for the Campaign ID

You can modify the eMail Response - Process Message workflow to look for a Campaign ID field in the message body or subject. Use the procedure in this topic to complete this task.

When the workflow receives a message with the specified field, the text is copied into the new process property (CampaignID). Using this same approach, you can modify the eMail Response - Create Activity Process workflow and associate the activity record with the appropriate campaign.

You can also parse an email message generated from a Web form. The Parse Message step can look for a first name, last name, and telephone number, and then use this data to create a contact record.

This task is a step in Process of Modifying Workflow Processes.

To parse text for the campaign ID

  1. In Siebel Tools Object Explorer, select the Workflow Processes object.

  2. In the Workflow Processes list, query for a process name of eMail Response - Process Message.

  3. In the Workflow Processes list, select eMail Response - Process Message and then click Revise.

    The status of the workflow changes to In Progress.

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

    The Business Process Designer appears.

  5. Right-click the Parse Message step and choose Show Process Properties.

  6. In the WF Process Props list, add a new record with Name field of CampaignID.

  7. Right-click the Parse Message step and choose Show Input Arguments.

  8. In the Input Arguments list, add the input argument in the following table.

    Input Argument Type Value

    CampaignID

    Literal

    [CID:%s]

  9. Right-click the Parse Message step and choose Show Output Arguments.

  10. In the Output Arguments list, add the output argument in the following table.

    Property Name Type Output Argument

    CampaignID

    Output Argument

    CampaignID

    Note: This output argument name must match the input argument name that you create in Step 8.
  11. In the History Toolbar, click Back to return to Siebel Tools.

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

    Note: You can also make sure the workflow works correctly by starting Communications Inbound Processor and sending test messages. For information about validating workflow processes, see Running the Process Simulator.
  13. In the Workflow Processes list, select eMail Response - Process Message and click Deploy.