Quantcast
Channel: Bizagi Community | Bizagi Suite
Viewing all articles
Browse latest Browse all 1543

Getting typeError while using JEE custom component in Bizagi

$
0
0
Hi, I have a custom component written in Java in order to make the OAuth authentication work, which is required for my process. The custom component takes 3 parameters and invokes a rest webservice to return 2 parameters. To make this work in Bizagi Studio, I followed the user guide here: http://help.bizagi.com/bpm-suite/en/index.html?enterprise_jee_example.htm The process has an activity action configured which has two expressions: i) Assignment and ii) Method call from custom component. Data model is as attached: DataModel.JPG Assignment expression is as follows: <RetrieveInventory.InventoryRequest.UserInfo.Username>="username value" <RetrieveInventory.InventoryRequest.UserInfo.Passcode>="password value" <RetrieveInventory.InventoryRequest.InventoryType>="product" <RetrieveInventory.InventoryRequest.ItemId>=productID And method call expression is as follows: var temp = new InventoryService(); Me.setXPath(<RetrieveInventory.InventoryResponse>,temp.getInventory(Me.getXPath(<RetrieveInventory.InventoryRequest.UserInfo>),Me.getXPath(<RetrieveInventory.InventoryRequest.InventoryType>),Me.getXPath(<RetrieveInventory.InventoryRequest.ItemId>))); When I run this process in development environment, I get the typeError: null is not a function. The entire error log is attached: ErrorLog.txt Can someone help?

Viewing all articles
Browse latest Browse all 1543

Trending Articles