检查存储过程已返回值

Check Stored procedure has retured a value

我是 Datafctory 的新手。作为我的管道的一部分,我执行 sp 来获取下一条记录以使用 Lookup 进行处理,然后在 Set Variable 中使用返回值。

如果 SP returns 注意到,则设置变量失败并出现以下错误

Activity SetBatchId 失败:无法计算表达式“activity('usp_get_next_archive_batch').output.firstRow.id”,因为 属性 'firstRow' 不不存在,可用属性为 'effectiveIntegrationRuntime'.

在 DF 中有没有办法在使用前检查 属性 是否存在

谢谢

请在“输出”后加一个问号。表示“输出?.firstRow”。

另请参阅此 post。

表达式应该是'activity('usp_get_next_archive_batch').output['firstRow'].['id']