我需要为数据域中的每一行生成一个唯一的“guid”,为此,我在复制活动中使用了一个附加列,如下所示。
由于它为每一行生成相同的 guid,因此我尝试使用查找并迭代“For Each”循环,如下所示。
在“For Each”循环中,我使用此表达式来检索值:
@activity('Lookup1').output.value
但是,我遇到了这个错误:
这是查找活动的示例输出:我使用 .csv 文件作为源
{
"firstRow": {
"Bill-to Customer Name": "****",
"Bill-to Customer No_": "****",
// ... (other fields)
"ProjectCustomer_FullName": "****",
"ProjectCustomer_ID": "****"
},
"effectiveIntegrationRuntime": "****",
"billingReference": {
"activityType": "****",
// ... (other billing reference fields)
},
"durationInQueue": {
"integrationRuntimeQueue": ****
}
}
如何解决这个问题?感谢您对此的帮助。
你可以尝试一下吗 @activity('Lookup1').output.firstRow.ProjectCustomer_ID