我有复制数据活动,将数据从Rest复制到SQL Server。 Rest返回json响应。复制数据成功后,我需要再进行一次Web活动。此活动需要先前的rest api响应(这是复制数据的一部分)的数据。知道如何实现这一目标。
我试过用
@{activity('ACTIVITY_NAME').output.<json_field_from_response>
我得到以下错误。
{
"errorCode": "InvalidTemplate",
"message": "The expression 'activity('ACTIVITY_NAME').output.batch_id' cannot be evaluated because property 'batch_id' doesn't exist, available properties are 'dataRead, dataWritten, rowsRead, rowsCopied, copyDuration, throughput, errors, effectiveIntegrationRuntime, usedDataIntegrationUnits, usedParallelCopies, executionDetails'.",
"failureType": "UserError",
"target": "Web1"
}
我希望在数据集或管道中有一些方法可以设置变量以便以后使用。但我无法找到它。谢谢。
你可以使用lookup activity并从lookup output获取数据。