Direct link to fix
APAR status
Closed as new function.
Error description
Based on the setColumns JavaScript API documentation, the Type property is not part of "Service data table" specification (https://www.ibm.com/support/knowledgecenter/SS8JB4/com.ibm.wbpm .ref.doc/bpmui/ServiceDataTable.html#setColumns). Because this information is missing, unpredictable results occur in custom code, such as when you use the setColumns() function on a service data table. PRODUCTS AFFECTED IBM Business Automation Workflow
Local fix
Define the Type property in your code, as shown in the following example: On-click logic for the original button var table = page.ui.get("Service_Data_Table1"); var columns = table.getColumns(); table.setColumns(columns); table.refresh(); On-click logic for the updated button var table = page.ui.get("Service_Data_Table1"); var columns = table.getColumns(); columns[0].type = "Text"; columns[1].type = "Date_Time_Picker"; table.setColumns(columns); table.refresh();
Problem summary
No additional information is available.
Problem conclusion
A fix is available or will be available that ensures the type property is included in the columns specification returned from the Table coach view's getColumns method.
Temporary fix
Comments
APAR Information
APAR number
JR62205
Reported component name
BUS AUTO WORKFL
Reported component ID
5737H4100
Reported release
J00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-04-07
Closed date
2020-04-20
Last modified date
2020-04-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
BUS AUTO WORKFL
Fixed component ID
5737H4100
Applicable component levels
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"19.0.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
22 June 2020