Jump to content

Adding Connection Via Form

Recommended Posts


We are trying to set up a new IC for a discpline request, where we would collect all of the correct information relating to a new case.

On our IC we have a field for the advisor to add the subject of the investigation which uses a data query (search all users). This is mapped to h_custom_a. I am now trying to use a node in the business process to add this person as a connection using the below set up:

The variable is &[global["flowcoderefs"]["getReqInformation"]["customFieldA"]]



This fails the BP with the error of 

Xmlmc method invocation failed for BPM invocation node 's1/flowcode-426812e6': 0200 apps addConnection FlowCode Exception (com.hornbill.servicemanager/entities/RequestConnections/fc_bpm/addConnection): nodeName: API Call: Add Connection; nodeId: 9ee2aef7-6f68-4035-8668-a94c2ff3adea; At 207/1: "Uncaught EspMethodCall::invoke: Operation[apps/com.hornbill.servicemanager/RequestConnections::addConnections] /apps/com.hornbill.servicemanager/entities/RequestConnections/fc_modules/request_connections_helper.js(217): error X1001: Uncaught TypeError: Cannot read property 'h_first_name' of undefined" throw(e); _fc_node_exec_9ee2aef7_6f68_4035_8668_a94c2ff3adea 9ee2aef7-6f68-4035-8668-a94c2ff3adea f173e935-9b04-45b5-a0e8-cc846c0a0090


What would be the reason for this?

Link to comment
Share on other sites

The value mapped to h_custom_a will be the Display Value (h_name) of the User.

As you will see from the node's help popup the h_user_id is required.


You will need to use the raw value from the Progressive Capture to populate this field, or you will need to map the raw value from the Progressive Capture to the h_custom_a field before using it to populate this field.

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...