我正在尝试在 ArrayRow 输入的 UI 路径中的 Add datarow 活动中添加某些值。但是当我传递值示例 {"1","2","3"} 时,它显示错误';' 预期的。当我运行应用程序时,我得到一个运行时错误。附上截图
问问题
2833 次
1 回答
0
When it comes to Properties of Add Data Row activity:
- ArrayRow Input Property needs to be an Object, so you need to pass the values via a variable.
- DataTable Input needs to contain a Table that has been initialized already, if the Table does not exist UiPath will generate an error
Please check the solution below as per your values:
Variables are the following:
Initialize your DataTable variable if you have not done it before in your Workflow:
And then populate your Add Data Row activity as follow:
If you run this Workflow in Output pane you will see the value of first row in DataTable that will be 1,2,3.
Hope these information will be useful.
于 2019-07-18T15:41:32.097 回答