Date comparison in azure logic app get entities connector

拈花ヽ惹草 提交于 2020-12-06 16:26:08

问题


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

I am getting following error

{
  "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)'.
    }
  }
}

Is there any way to implement above logic in azure logic app


回答1:


For this problem, you can refer to my logic app below:

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".



来源:https://stackoverflow.com/questions/64216759/date-comparison-in-azure-logic-app-get-entities-connector

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!