A fix is available
APAR status
Closed as fixed if next.
Error description
IBM Process Designer marks correct JavaScript syntax as incorrect when an object is passed into a function inline, such as callFunction({a1: "test1"}); Although the code executes correctly, Autocomplete does not work at authoring time because of the error marker in the JavaScript code. PRODUCTS AFFECTED: IBM Business Process Manager (BPM) Advanced IBM BPM Standard IBM BPM Express
Local fix
Workaround 1: var a1 = {....} callFunc({...}) where {...} is a JavaScript object (essentially JSON). callFunc is a function defined somewhere in the JavaScript, for example function callFunc(aVariable) { //do something } Therefore, instead of entering callFunc({name: "Joe"}); assign the object to a variable and call the function using this variable, for example, var person = {name: "Joe"}; callFunc(person); Workaround 2: At development time, comment out the wrongly marked line of code to keep up running Autocomplete.
Problem summary
No additional information is available.
Problem conclusion
A fix will be incorporated into a later release that fixes the JavaScript validation parser so it recognizes inline object creation during a function call.
Temporary fix
Comments
APAR Information
APAR number
JR51746
Reported component name
BPM STANDARD
Reported component ID
5725C9500
Reported release
850
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-11-11
Closed date
2014-12-22
Last modified date
2014-12-22
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
R855 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
16 October 2021