Azure 数据工厂系统变量管道触发器时间日期转换错误 "The function call must take the completion string"

Azure Data Factory System Variable Pipeline Trigger Time Date Conversion Error "The function call must take the completion string"

在 ADF 中,我尝试获取管道触发时间的系统变量,并将其从 UTC 转换为 EST,仅使用日期格式而不是时间 (yyyy-MM-dd)。

应该很简单,但我一直收到这个无法描述的错误:

The function call must take the completion string

convertFromUtc(@pipeline().TriggerTime, 'Eastern Standard Time', 'yyyy-MM-dd')

也尝试先将其转换为字符串,但得到同样的错误:

convertFromUtc(string(@pipeline().TriggerTime), 'Eastern Standard Time', 'yyyy-MM-dd')

只是一个小改动,显然应该如下所示,以 @ 开头。

@convertFromUtc(pipeline().TriggerTime, 'Eastern Standard Time', 'yyyy-MM-dd')