Notifying Mobile Users Who Are Not Synchronized

You can define a Workflow Process that sends a notification email to mobile users who are not synchronized. For example, the following procedure shows how to send an email to Siebel Remote Users who have not synchronized recently.

To notify mobile users who are not synchronized

  1. Create a new Business Object named Sync Status.

  2. Add the following Business Object Components:

    • Sync Doc Status

    • Sync Client Status

  3. On the Sync Status business object, specify Sync Doc Status as the Primary Business Component

  4. On the Business Component definition for Sync Doc Status, do the following:

    1. Add two new fields named Emp Id and Emp Email Address. Do not populate any attributes, other than the name at this point.

    2. Create a new join named S_CONTACT with the join specification shown in the following table.

      Name Destination Column Source Field

      Id

      ROW_ID

      Emp Id

    3. Update the Emp Id and Emp Email Address fields as shown in the following table.

      Name Join Column

      Emp Id

      S_NODE

      EMP_ID

      Emp Email Address

      S_CONTACT

      EMAIL_ADDR

  5. Create a Workflow Process named Remote Client Sync Email with the Business Object as Sync Status.

  6. Add the following steps and connectors until the (Remote Client Sync Email) Workflow Process resembles the flow illustrated in the following figure:

    1. A Start step.

    2. A Decision Point 0 step.

    3. A Business Service 0 step.

    4. An End 0 step.

    5. The following connectors:

      • Connector 0 between step a and step b.

      • Connector 1 between step b and step c.

      • Connector between step c and step d.

      • Connector 3 between step b and step d.


    Remote Client Sync Email Workflow Process: This image is described in the surrounding text.
  7. Modify the (Remote Client Sync Email) Workflow Process as follows:

    1. Start step - No changes.

    2. Connector 0 - No changes.

    3. Decision Point 0 step - Rename to "Delinquent Sync?".

    4. Connector 1 - Rename to "Yes" and add the conditions specified in the following table.

      Compare To Operation Business Component Name Business Component Fields

      Value

      Business Component

      One Must Match (Ignore Case)

      Sync Doc Status

      LOCAL_FLG

      Y

      Business Component

      One Must Match (Ignore Case)

      Sync Doc Status

      TYPE

      SESSION

      Expression

      One Must Match (Ignore Case)

      Sync Client Status

      N/A

      ([Effective End Date] > Today() or [Effective End Date] is NULL)

      Expression

      One Must Match (Ignore Case)

      Sync Client Status

      N/A

      (Today() - [LAST_UPD] >= 1 and [LAST_UPD] <= Today())

      Note: In the Expression line, change the >=1 to >=N, where N is the number of days you consider the user to be delinquent in synchronizing.
    5. Connector 3:
      • Rename to "No"

      • Change the Type attribute to "Default"

    6. Business Service 0 step:

      • Rename to "Send Reminder Email"

      • Select the "Outbound Communications Manager" Business Service and the "Send Message" Method.

      • Configure the Input Arguments as shown in the following table. Note that additional arguments may be added if required.

        Input Argument Type Value Business Component Name

        Business Component Field

        Communication Profile

        Literal

        <specify a Communications Profile>

        N/A

        N/A

        To Address List

        Business Component

        N/A

        Sync dock Status

        Emp Email Addr

        HTML Body

        Literal

        <reminder message of your choice>

        N/A

        N/A

    7. End 0 step - No changes required, but you can rename to simply "End".

  8. Create a Server Job for component "Workflow Process Batch Manager" for the "Remote Client Sync Email" workflow to run daily (or at the frequency required).