Creating a Server-initiated Starting Point

Create a server-initiated starting point.

Note: Each Mobile Workflow Form package can have only one server-initiated starting point.
  1. In the Mobile Development perspective, select File > New > Mobile Workflow Forms Editor.
  2. Follow the instructions in the New Mobile Workflow Forms Editor wizard:
    Field Description
    Enter or select the parent folder Select the mobile application project in which to create the mobile workflow form.
    File name Enter a name for the mobile workflow form. The extension for mobile workflow forms is .xbw.
    Advanced Link the mobile workflow form to an existing file in the file system.
    Link to file in the file system Click Browse to locate the file to which to link the mobile workflow form. Linked resources are files or folders that are stored in the file system outside of the project's location. If you link a resource to an editor, when you select the editor, the resource is selected in the WorkSpace Navigator. Conversely, when you select the resource in the WorkSpace Navigator, the editor is selected.

    Click Variables to define a new path variable. Path variables specify locations on the file system.

  3. Click Next.
  4. In the Starting Points page, select Responds to server-driven notifications.
  5. In the E-mail Processing wizard, click Search to locate the mobile business object with which to associate the server-initiated starting point.
  6. In the Search for Mobile Business Object wizard, click Search.
  7. Select the mobile business object from the list, and click OK.
  8. (Optional) Select an Object query and click Next.
    Note: Object queries that return result sets are not supported.
  9. Enter the contents for a sample notification message, and click Next.
  10. Select the text that will serve as the matching rule by right-clicking and selecting Select as Matching Rule; then click Next.
  11. From Extraction Rules, select a parameter, and specify from where the parameter receives data in the Extraction Rule Properties.
    Note: The supported syntax for the regular expression is that used by the C# Match() methods(s) of the class System.Text.RegularExpressions.Regex.
    Property Description
    Field Select the field from the notification message from which the parameter receives data, for example, Subject. Selecting Subject indicates that the parameter receives data from the subject line of the notification message.
    Start tag Enter or select the text for the start tag regular expression, for example, "Approval Request\(".
    End tag Enter or select the text for the end tag regular expression, for example, "\)was sent".
    Format Supports locale-specific parameter extraction. For example, you can indicate that a given date parameter will be in the form of yyyy-MM-dd in the e-mail, and another date parameter will be in the form of yyyy-dd-MM. This applies to the DateTime type.
    Sample notification field contents The value of the field from the sample notification previously specified on the Specify Sample Notification page of the Notification Processing wizard.
    Value extracted from sample notification field contents The value the start tag and end tag matching rules would arrive at given the sample field value.
  12. Click Finish.
Related tasks
Adding a Starting Point Manually
Creating Screens Automatically by Dragging and Dropping a Data Source