Known Issues for Sybase Unwired WorkSpace – Mobile Workflow Package Development

Learn about known issues and apply workarounds for Unwired WorkSpace and Mobile Workflow application development.

Mobile Workflow Forms Editor

Describes known issues when using Mobile Workflow Forms Editor to create message-based mobile workflows.

CR #Description
692147
When a Windows Mobile device is provisioned using an invalid server verification key, the device still connects to the server for a short amount of time prior to determining the server verification key is invalid, after which, the connection to the server is severed.

Workaround: None.

692161
Control characters are not parsed correctly when using rmi.xml and Chrome to debug the Mobile Workflow

Workaround: Do not format the content of the rmi.xml when debugging the Mobile Workflow using Chrome.

686465
Camera feature is supported on some device simulators/emulators.

Workaround: None.

684635
Choice controls with a large number of rows do not behave as expected on some platforms.

Workaround: For best performance, keep the number of rows in choice controls under 200.

684548
On BlackBerry 6, using the PictureOption.PHOTOLIBRARY option, if the image is larger than 5MB, you receive an error code "-5", which is expected. However, if the image is less than 5MB but larger than 1MB, it may (depending on the memory condition of the device) load the image successfully. But when invoking the CREATE operation to upload the image to the EIS, an error pops up that says, "The Data in the stream is invalid or truncated."

Workaround: None.

683904
NotEnoughStorage alert received on Windows Mobile devices

On Windows Mobile, when selecting a picture into the workflow, if the encoded size is less than 512KB, the picture is correctly encoded, and the Create operation executes successfully. If the encoded size is greater than 1MB, you receive error code "-5." If the picture size is between 512K and 1MB, after selecting, you may receive an alert message saying "Error: The parameter is incorrect", or "Not Enough Storage."

Workaround:Take lower resolution pictures so they are not so large. Windows Mobile has a 1 MB limit.

682410
After renaming a mobile workflow application, the associated locale .properties files are not renamed to the corresponding mobile workflow name

The locale .properties files become dangling, so code generation misses those resources.

Workaround: If you rename a mobile workflow application, you must also manually rename the associated locale .properties files.

681918
When clicking the Workflow icon on iOS devices, the message " Sybase Mobile Workflow please go to the settings application and enter your configuration..." is received.

This happens when trying to open a version 2.0 Workflow on the iOS device and connecting on version 2.1 of Unwired Server.

Workaround: In SCC use the HWC template to create an application connection and leave the application identifier empty.

679732
On BlackBerry 9800 Simulators, the TEXT type Read-only edit box appears as disabled in the detail screen

When the disabled datetime/date/time HTML field is clicked, the native datetime/date/time picker pops up.

Workaround: None.

678440
On BlackBerry devices, an error is received when running an HTTPS GET method from the Mobile Workflow

Workaround: Refer to the BlackBerry Knowledge Base article at http://btsc.webapps.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB20833&sliceId=1&docTypeID=DT_SUPPORTISSUE_1_1&dialogID=1652002964&stateId=0%200%201652004660.

678352
Unable to map a structure type personalization key in the Mobile Workflow Forms editor

Array of structure type personalization keys are not supported.

Workaround: None.

677684
Locale properties file does not get updated if screens, controls, menu items and so on are removed

During Mobile Workflow package generation, a warning is seen that validation keys are missing from the <locale>.properties file if screens, controls, menu items and so on have changed in number, for example, you deleted a menu item. Resource strings associated with screens, controls, and menu items do not update sequence correctly.

Workaround: Either do not remove screens, controls, menu items and so on after localizing, or manually correct the localization .properties file after making the changes.

674809
ShowUrlInBrowser in link control does not work in older versions of the BlackBerry Simulator

Workaround: Use a later version of the simulator, such as version 6.0.0.534, for example.

674434
On Windows Mobile, link controls with logical types of either Phone Number or Email Address do not work as expected

After clicking on a link of the logical type Phone Number or Email Address and returning to the Mobile Workflow application, there is an IE browser window that must be closed before you can return to the running Mobile Workflow application.

Workaround: Wrap the link in a call to the showURLInBrowser function. For example:
<a href="javascript:showUrlInBrowser('mailto:<user_name>@<email_address>.com')">email me</a>

For information about how to use the showURLInBrowser function, see the Developer Guide: Mobile Workflow Packages in the topic Mobile Workflow Application Native Device Functions.

675888
Reusing dynamic choice values can cause some choices to become unavailable.

A workflow user may have trouble when reusing dynamic choice controls, as this example illustrates:

Two MBOs, State and Customer, are used within the workflow, which contains a Choice control with dynamic contents accessed from the MBO's findAll object query. The selected value is passed to the Customer's findByState. The problem is the State's findAll object query online request makes the choice with the correct display name values, but after calling CustsByState (findByState) and closing the Customer screen, most display names in the Choice drop-down are unavailable.

Workaround: Call the State's findAll selection again (menuitem GetStates).

See Creating Dynamic Contents for the Choice Control.

675904
Object queries in the Online cache group are case sensitive.
If the enterprise information system (EIS) to which an object query is associated with has case sensitive parameters, then the client must pass matching parameters or no data is returned. For example, if the Customer MBO is in an Online cache group, has a load parameter "state" that is propagated to the attribute "state", and a findByParameter object query defined as:
SELECT x.* FROM Customer x WHERE x.state = :state 
No data is returned to the client if they enter state=Ca, since the database parameter is case sensitive (CA). This is not an issue for object queries in other types of cache groups.

Workaround: None.

674149
Exception received with large amounts of data.
When the amount of data is too large to download to the workflow client device, you may get an exception similar to:
"iAnywhere.MobileOffice.AMP.ResponseRetryException" on device, and following error in WorkflowClient.log: 

20110616T110249.554|4|My:1 -- ExecuteRequest- > Out 
20110616T110249.694|1|iAnywhere.MobileOffice.AMP.ResponseRetryException: Exception of type 
'iAnywhere.MobileOffice.AMP.ResponseRetryException' was thrown. 
20110616T110249.694|1| at Sybase.UnwiredPlatform.WorkflowClient.Utils.CheckMessageSize
(String serializedMessage, ContextData oContextData, Boolean fromResponder) 
20110616T110249.694|1| at Sybase.UnwiredPlatform.WorkflowClient.Responder.ProcessMessageFromDevice
(ContextData oContextData, String sData, Boolean isSynchronous) 
20110616T110249.694|1| at Sybase.UnwiredPlatform.WorkflowClient.Responder.ProcessSyncRequest
(ContextData oContextData, String sData) 
20110616T110249.694|4|My:1 -- ProcessSyncRequest- > Out

Workaround: Increase the allowed maximum workflow message size (SupMaximumMessageLength). From Sybase Control Center, expand Workflows and select the workflow of interest. Select the Context Variables tab. Modify the property.

673572
Workflows do not work with Android simulators version 2.3.3.

See http://code.google.com/p/android/issues/detail?id=12987 for a description of this issue.

Workaround: Use an earlier version of the Android simulator.

671242
Submit operation is empty if the workflow uses a Web service that takes a structure as its input.

While you can add items to the list and save the list, when you submit the operation, it is empty. Array/list fields in structure parameters are not supported. You can have a top-level parameter that is an array/list, and you can have a top-level parameter that is a structure that has non-array/list fields and sub-structures.

Workaround: None.

669253
"Scripting Alert Error: Object doesn't support this action" error received on Windows Mobile 6 when opening Workflow.

Workaround: Upgrade Windows Mobile 6 to OS 5.2.1235 or later.

669251
On a BlackBerry AsiaBB9800 simulator, data with the DATETIME type does not display in certain circumstances.

Workaround: None.

668540
On a BlackBerry 6.0 AsiaBB9800 simulator, if the DATETIME or TIME field is set to AM, the field is not editable. PM works as expected.

Workaround: None.

667325
On BlackBerry 5.0, if there is a dynamic choice on the screen, labels for the drop-down and comments fields overlap, which hides the drop-down control.

This happens only on some BlackBerry 5.0 devices, and then it happens only intermittently.

Workaround: If you know where to click for the drop-down, you can access the drop-down control, and it accepts your choice

667187
The BlackBerry Bold 9700 device simulator sometimes does not allow the user to have full control of the screen for an application, and may perform the wrong operations, and return the wrong results. Real devices work correctly.

Workaround: None

666672
On BlackBerry 6.0 simulators (non-touch models), it is difficult to enter the password

Workaround: There are two workarounds for this issue:

  1. When the password control has focus, press the scroll button and scroll to the left, then it accepts input.
  2. When the password control has focus, press the Menu button, choose Select and then move the cursor to the password control.
665776
On iOS devices, when clicking the slider circle in a record for a workflow, the screen is empty. This behavior occurs only the first time the slider is used on that screen.

Workaround: Use the edit box instead of the slider.

664530
On BlackBerry 6.0 non-touch devices, unable to select the drop-down or add comments to the Mobile Workflow application

Workaround: Since there is no touch gesture, you must switch on the Select option in context menu, then you can move around the cursor with trackball.

662620
On the BlackBerry 6.0 Simulator, clicking the Tiny anchor in the separate attachment has no affect the second time the link is clicked on

The problem occurs only when returning to the original screen after viewing the attachment. In addition, text fields cannot be edited, as the browser appears to be in a read-only state.

Workaround: None.

660862
The workflow DCN response
no workflow message is sent because no device is found 
to send the mail
is returned if the request is sent to a device that has no users mapped.
When a new message-based synchronization Workflow device user is created and registered from Sybase Control Center, by default there are no users mapped to the device (Device Users > Devices > MBS user name > Users.... In this case, when sending a Workflow DCN request, the response is similar to:
{"id":"dcntest_test_001","success":false,"statusMessage":
"no workflow message is sent because no device is found to send the mail"
,"result":[{"id":"dcntest_test_data_1","success":true,"statusMessage":""}]} 

Workaround: Invoke any other Unwired Platform application (for example, a client-initiated or server-initiated workflow application, or a native application), which maps an Unwired Platform user to a MBS device user, then send the DCN with
"to":" < this SUP user > "
659677

Mobile Workflow push notification is not processed, even though the backend database is updated with the data.

This may happen if another e-mail client is configured and accessing the workflow Notification Mailbox at the same time as the workflow.

Workaround: Do not configure other e-mail clients that may intercept the mobile workflow message before it is sent to the Notification Mailbox.

628826
Copying and pasting an issue with multiple objects.

Workaround: Copy and paste only one Listview or Htmlview at a time.

596195
Mobile Workflow applications do not support NULL values.

You cannot send NULL values from the client to the server. If you attempt to retrieve NULL values from the server, the attempt fails.

Workaround: Do not use NULL values.