Generating Code for a Mobile Workflow Package

Generate a Mobile Workflow package and deploy it to Unwired Server to make it available to device clients.

Prerequisites
Complete these tasks:
Task
Use the Mobile Workflow Package Generation wizard to generate files for the mobile workflow package, optionally deploy the generated package files to the server, and assign the package to one or more devices.
  1. Open Sybase Unwired Workspace.
  2. In the WorkSpace Navigator, expand MobileWorkflow101 and double-click travelrequest.xbw.
    The package file opens in the Mobile Workflow Forms Editor.
  3. In the Sybase Unwired Workspace toolbar, click the generate_device_client_code Mobile Workflow package wizard button.
  4. In the New Mobile Workflow Package Generation wizard, select these options:
    Option Description
    Update generated code Select Generate into the project.
    Unwired Server Profile Select My Unwired Server as the profile to associate with the mobile workflow package.
    Deploy to an Unwired Server Select this option.
    Assign workflow to users Select this option and click Get Users to choose one or more registered users for whom you want to deploy the package. Multiple users are separated by commas.

    mobileworkflowpkggenwizard
  5. Click Finish.
    The WorkSpace assigns the TravelRequest application to the user and generates the files for the mobile workflow package in a zip archive on the server. You can see the files in your project in the Workspace Navigator:
    mwf_travelrequest_generated_code

    If the package is not displayed initially, double-click the server to refresh the display.

    The mobile workflow package is added to the Enterprise Explorer under the Unwired Servers/Workflows folder.
    mwf_tutorial_deployed_workflow
  6. Save your emulator settings.
    For example, click File > Save State and Exit.