Configuring Context Variables for Mobile Workflow Packages

The administrator can change some of the values of a selected variable, should the design-time value need to change for a production environment.

Which values are configurable depends on whether the developer hard-coded a set of user credentials or used a certificate.

  1. In the left navigation pane, click Workflows > <Workflow_Package>:<Workflow_Version>.
  2. In the right administration pane, click the Context Variables tab.
  3. Select the context variable to configure, then click Modify.
    Context Variable Description
    SupUser The valid mobile workflow application user name that is used to authenticate the user with the chosen EIS. An administrator must change development/test values to those required for a production environment.
    SupUnrecoverableErrorRetryTimeout After sending a JSON request to Unwired Server, if you receive an EIS code that indicates an unrecoverable error in the response log, the mobile workflow client throws an exception. A retry attempt is made after a retry time interval, which is set to three days by default. Select this property to change the retry time interval.
    SupThrowCredentialRequeston401Error The default is true, which means that an error code 401 throws a CredentialRequestException, which sends a credential request notification to the user's inbox. If this property is set to false, error code 401 is treated as a normal recoverable exception.
    SupRecoverableErrorRetryTimeout After sending a JSON request to Unwired Server, if you receive an EIS code that indicates a recoverable error in the response log, the mobile workflow client throws an exception. A retry attempt is made after a retry time interval, which is set to 15 minutes by default. Select this property to change the retry time interval.
    SupPassword The valid mobile workflow application user password that is used to authenticate the user with the chosen EIS. An administrator must change development/test values to those required for a production environment.
    SupPackages The name and version of the deployed Mobile Workflow package. This cannot be changed.
    SupMaximumMessageLength Use this property to increase the allowed maximum Mobile Workflow message size. Limitations vary depending on device platform:
    • For BlackBerry 5, the limit is 512KB.
    • For Windows Mobile the limit is 500KB.
    • For BlackBerry 6 and Android, the limit depends on the memory condition of the device. Large message may result in an out of memory error.
  4. In the Context Variable dialog, change the value of the named variable and click OK.