Robotics 19.1 to 22.1 solution upgrade issues

We have recently upgraded one of the solution which was initially developed in Robotics studio 19.1.118, and upgraded it to 22.1.4.

Following are few hiccups we faced:

  1. Earlier we had used numeric expressions in procedure automation, The numeric expression was available in Global container. After upgrading to v22. The solution does not run, and it throws exception at numeric expression while running the solution. After replacing the old numeric expression (global container in v19) with new numeric expression (local scope in v22), the solution is working fine. Is it expected behaviour ?

  2. We had used string split method in v19.1, and used Get method (with indices parameter) of String array proxy (output of split method). After upgrading the solution to v22, The get method (1 parameter) got replaced with get method (0 parameter) in V22. And that was throwing exception while running the solution. After replacing the proxy’s method again with 1 parameter, the solution runs fine. Is it expected behaviour ?

@Vikas_Agrawal

  1. I was unable to reproduce this in 22.1.8, however this is a known bug with global expressions. If it is not resolved for you in 22.1.8, it should be resolved in a later build. The current workaround is to recreate the expression as you’ve already discovered.
  2. I have heard there is an issue with the Get method specifically in 22.1. I was also unable to reproduce in 22.1.8, however it may still be an issue. The workaround is to replace that method with GetValue. In 22.1.8 however I was able to use the Get method, so that may be resolved.