Jump to content

Add Connection - erroring


EWA

Recommended Posts

First time trying to use Add Connection and obviously getting errors.  I wanted to add as affected or interested PM which is specified in one of the questions. I was getting errors so changed for the failed workflow to manually add myself... still getting an error. Does this node require Get User beforehand

Xmlmc method invocation failed for BPM invocation node 's1/flowcode-9103611c': <methodCallResult status="fail"> <state> <code>0207</code> <service>apps</service> <operation>addConnection</operation> <error>/apps/com.hornbill.servicemanager/entities/RequestConnections/fc_modules/request_connections_helper.js(598): error X1001: Uncaught TypeError: Cannot read property &apos;h_firstname&apos; of undefined</error> <flowcodeError> <where>Execute</where> <filename>/apps/com.hornbill.servicemanager/entities/RequestConnections/fc_modules/request_connections_helper.js</filename> <lineNumber>598</lineNumber> <columnPos>16</columnPos> <message>Uncaught TypeError: Cannot read property &apos;h_firstname&apos; of undefined</message> <errorCode>1001</errorCode> </flowcodeError> </state> </methodCallResult>

 

 

image.png.56e52b05e4c3f6300aad166c2e08aec8.png

 

image.png.79a10ada40b152f57a050370df1fed91.png

Link to comment
Share on other sites

Hi @EWA

Not 100% sure if this is the issue, but I see in the screenshot you have the 'Contact (From Variable)' option set to 'Manual' but with no value set... it may be trying to find a contact with an empty id.  Try setting that option to 'Ignore' and then try it again to see if that then adds you as a connection as defined in the 'Co-worker' option.

Kind regards,

Dave.

Link to comment
Share on other sites

While we on this..I want the connection to automatically receives any updats/emails - same like the owner , I thought I could CC the connection into the relevant nodes rather than use the email connection but not sure it this can be achived.

Link to comment
Share on other sites

38 minutes ago, Steve Giller said:

What is in field_9_value?

My first troubleshooting step would be to post that to the Timeline so you know exactly what you are passing as a parameter.

 I could see in the questions section that the my colleague name was populated but on timeline  there is only request logged entry.

image.png

Link to comment
Share on other sites

39 minutes ago, Steve Giller said:

That suggests there may be an issue in the Capture, I'd review that first.

 

I thought that as well.. but what the issue could be. I changed the Data Query used to just users without the UserID but still the same issue

 

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...