问题描述
我想传递 @ trigger().scheduledTime作为参数 用于存储过程以获取触发器的计划时间.但是当我通过 @ trigger().scheduledTime 作为参数,我得到" 活动 SP_RecordSplit 失败:无法评估模板语言表达式'trigger().scheduledTime" 因为属性"scheduledTime"不存在,所以可用的属性是名称,输出,startTime,endTime,trackingId,clientTrackingId,状态".错误.
I want to pass the @trigger().scheduledTime as parameter for stored procedure to get the trigger scheduled time. But when I pass @trigger().scheduledTime as parameter, I'm getting "ActivitySP_RecordSplitfailed: 'The template language expression 'trigger().scheduledTime' cannot be evaluated because property 'scheduledTime' doesn't exist, available properties are 'name, outputs, startTime, endTime, trackingId, clientTrackingId, status'." error.
我可以通过 @ trigger().startTime作为参数.
I'm able pass@trigger().startTime as parameter.
能否请您告诉我这里会有什么问题?
推荐答案
您需要定义管道参数并将其引用为storedprocedure参数,然后通过" @ trigger().scheduledTime "触发管道运行时,将 添加到管道参数. 此链接为您提供更多信息.
You need to define a pipeline parameter and refer it as the storedprocedure parameter, thenpass "@trigger().scheduledTime"to the pipeline parameter when trigger the pipeline run. This link give you more information.
谢谢.
这篇关于如何通过adfv2将@trigger().scheduledTime作为存储过程的参数传递的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!