Update from Windows Legacy to Windows: Salesforce Integration Activities not working - Object reference not set to an instance of an object

Hi Together,

once updated from windows legacy to windows the salesforce integration activities face problems.

Error message: Object reference not set to an instance of an object
In studio: The runtimeargument ‘ID’ refers to the argument, that is itself bound to the runtime argument contact.ID…

Error occurs in get record and update record. For example,
image

Could anyone please explain to me how to fix that? Thanks!

Hi @PeCour, Can you kindly help with the below details?

  1. Did you upgrade the package version or both package and studio?
  2. What was the earlier package/studio version where it was working fine?
  3. What is the current version of the studio and package?
  4. Can you reproduce the error and share the screenshot of the complete error message and details?
  5. Reproduce the error in a new project with the least number of activities possible, zip the project, and share it here. We will investigate it further.

Hi @Koushik_tatikondawar,
I appreciate your help.

I did not change the studio version at all (2022.10.3). Below are some details:

  1. I updated the process from windows legacy to windows. At first, I did not change the package (version 1.7.0). To debug I upgraded the package version to 1.9.2.- but that did not make any difference.

  2. Windows legacy and package version 1.7.0 is working fine. I am using the old process right now - no problems.

  3. I will have to change the project to windows at some point.

  4. I am sorry but I can’t do that. The process is in production. I went back to windows.

Here are some details that I can share:

  • In general, the salesforce package is working correctly.
  • The first activity “Get Record - Case” fails to derive the ContactId. Therefore, the error in the second activity “Get Record - Contact” is “object reference not set to an instance of an object”.
  • When opening the get record activity, an error message is displayed. But I can’t share it because once I close the get record window, the error disappears after 1-2 seconds.
    => That happens at every get record activity!


Thank you for your answer but I reached out to UiPath already and they found an error on their side.
They are working on debugging it but have not scheduled it yet.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.