Argument 'ArrayRow':BC30333: Value of type 'Integer()' cannot be converted to 'Object()' because 'Integer' is not a reference type

huangapple go评论71阅读模式
英文:

Argument 'ArrayRow':BC30333: Value of type 'Integer()' cannot be converted to 'Object()' because 'Integer' is not a reference type

问题

我在UiPath自动化中遇到了这个错误。

参数 'ArrayRow':BC30333:类型为 'Integer()' 的值无法转换为 'Object()',因为 'Integer' 不是引用类型。

我试图添加一个ArrayRow参数(例如:{x,y})。然后出现了下面的错误,我附上了我使用的内容以及遇到的错误的图片链接。

X和Y的类型是整数。

这里是错误图片链接

英文:

I am Facing this error in UiPath Automation.

Argument 'ArrayRow':BC30333: Value of type 'Integer()' cannot be converted to 'Object()' because 'Integer' is not a reference type

I am trying to add ArrayRow Argument (Example:- {x,y}). then this error is occure below i Attach Image what i use and which error is faceing

X and Y is type Integer

Here the Error Image Link

答案1

得分: 0

你将需要将你的变量转换为对象,如下所示。

Argument 'ArrayRow':BC30333: Value of type 'Integer()' cannot be converted to 'Object()' because 'Integer' is not a reference type

参考此链接获取详细信息:https://docs.uipath.com/activities/other/latest/workflow/add-data-row

链接中的代码片段:
Argument 'ArrayRow':BC30333: Value of type 'Integer()' cannot be converted to 'Object()' because 'Integer' is not a reference type

英文:

You will have to convert your variable to Object like below.

Argument 'ArrayRow':BC30333: Value of type 'Integer()' cannot be converted to 'Object()' because 'Integer' is not a reference type

Refer this link for detail info: https://docs.uipath.com/activities/other/latest/workflow/add-data-row

Snippet from link:
Argument 'ArrayRow':BC30333: Value of type 'Integer()' cannot be converted to 'Object()' because 'Integer' is not a reference type

huangapple
  • 本文由 发表于 2023年6月22日 13:46:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/76528893.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定