APAR status
Closed as program error.
Error description
When an undercover agent of variable implementation implemented as business object that contains a list parameter is executed, a type mismatch error might occur. [2022-02-21T09:38:45.424+0000] 0004447e .lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean E An exception occurred in Undercover Agent Passthrough Service with name "7d45aea9-57-4fe80cd-f5ed58f3d5". Details: com.lombardisoftware.component.common.workflow.WorkflowProcessIt emException: An exception occurred in activity "End" of "Undercover Agent Passthrough Service" with name "7d45aea9-57-4fe80cd-f5ed58f3d5". Task instance id "null". Details: "Runtime error in script ("Process: '7d45aea9-57-4fe80cd-f5ed58f3d5' ProcessItem: 'End' Type: 'ITEM'" 2:0). Internal Script error: com.lombardisoftware.core.TeamWorksRuntimeException: com.lombardisoftware.core.TeamWorksException: Type mismatch. Value TWObject[(Active: Y), (Type: TYPE_ARRAY), (TWClassID: TWClass.f1317b09-89f2-402d-bc6c-caf7c06d1080), (TWClassName: Item), (Array length: 2), (MetaData: objectID=bebc22f5-29f9-4227-8429-362ea1a2ce8d-279678-16454363254 19, dirty=true, invalid=false, shared=false, key=null, version=null, rootVersionContextID=null, className=null, contentObject=false, contentObjectKey=null, contentObjectSequenceNumber=null, contentObjectLocale=null, parentCaseId=null, parentActivityId=null)] must be of type Item (PA0) Script (line 2): 1 : // Assignment script <B> 2 : tw.local.Output=tw.local.Input;if(tw.local.Input !== undefined){tw.local.items=tw.local.Input.items;}</B> ". at com.lombardisoftware.component.common.workflow.ExecutionJob.crea teWorkflowProcessItemException(ExecutionJob.java:670) at com.lombardisoftware.component.common.workflow.ExecutionJob.doJo b(ExecutionJob.java:413) at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean. doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1602) at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean. doResumeWorkflowEngine(EJBWorkflowManagerBean.java:717) at com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean. executeProcessByUCA(EJBWorkflowManagerBean.java:583) at com.lombardisoftware.server.ejb.workflow.EJSLocalStatefulEJBWork flowManager_9907b2e2.executeProcessByUCA(EJSLocalStatefulEJBWork flowManager_9907b2e2.java) at com.lombardisoftware.component.common.workflow.EJBWorkflowManage rDelegateDefault.executeProcessByUCA(EJBWorkflowManagerDelegateD efault.java:201) at com.lombardisoftware.component.common.workflow.EJBWorkflowManage rDelegateWebSphere$10.run(EJBWorkflowManagerDelegateWebSphere.ja va:122) . . . PRODUCT AFFECTED: IBM Business Automation Workflow
Local fix
Create a service flow with input and output of the same name and of type business object with list parameters, switch the undercover agent's implementation type to "service" and select the newly created service flow as the attached service.
Problem summary
No additional information is available.
Problem conclusion
A fix is available or will be available that will generate a correct runtime artifact when an undercover agent of variable implementation implemented as business object that contains a list parameter is saved.
Temporary fix
Comments
APAR Information
APAR number
JR64917
Reported component name
CLOUD PAK FOR A
Reported component ID
5737I2300
Reported release
K00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-05-06
Closed date
2022-05-16
Last modified date
2022-05-16
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
CLOUD PAK FOR A
Fixed component ID
5737I2300
Applicable component levels
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSBYVB","label":"IBM Cloud Pak for Business Automation"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"K00"}]
Document Information
Modified date:
17 May 2022