问题描述
我有一个逻辑应用程序,该应用程序需要根据event_time(表中的字段之一)> =当前时间+24(小时)的条件从azure表存储中提取记录
I have a logic app , which needs to pickup records from azure table storage based on a condition where event_time (one of the field in table) >= current time +24 (hrs)
我试图将上述逻辑实现为
I have tried to implement above logic as
我遇到以下错误
{
"odata.error": {
"code": "InvalidInput",
"message": {
"lang": "en-US",
"value": "')' or operator expected at position 24 in '(event_date_time gt 2020-10-06T21:52:30.2795067Z)'.
}
}
}
有什么方法可以在azure逻辑应用程序中实现上述逻辑
Is there any way to implement above logic in azure logic app
推荐答案
对于此问题,您可以在下面参考我的逻辑应用程序:
For this problem, you can refer to my logic app below:
addToTime(...)
的表达式与您的相同,请注意,在 addToTime(...)
.另外,请注意您所使用的字段的情况,我使用"过滤查询"中的字段 TESTDATE
进行测试.但这是行不通的.因此,如果您的 event_date_time
中存在大写和小写字母,请使用"过滤查询"中的原始字母.
The expression of addToTime(...)
is same with yours, and please notice there is a pair of ''
on both sides of addToTime(...)
. And please also pay attention to the case of your field, I test with field TESTDATE
in "Filter Query" but it doesn't work. So if exists upper case and lower case in your event_date_time
, please use the original letter in "Filter Query".
这篇关于Azure逻辑应用程序中的日期比较获取实体连接器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!