我有一个简单的管道,我从 Azure SQL DB 表中查找日期,然后尝试将其传递给 Dynamics 的 XML 查询。
查找活动成功,输出看起来不错,我收到一条关于 XML 查询的错误消息,我已经尝试解决了很长时间,但到目前为止没有任何成功。
这是我在源查询中使用的 XML 查询:
<fetch>
<entity name="account" >
<all-attributes/>
<filter type="and">
<condition attribute="modifiedon" operator="on-or-after" value="@{activity('LookupAccountSQL').output.firstRow.modate}" />
</filter>
</entity>
查找活动名称为 LookupAccountSQL,SQL 查询简单如下:(也为该活动成功调试运行):
SELECT CAST(MAX(modifiedon)) as modate FROM dbo.account
任何帮助是极大的赞赏!