延迟直到天蓝色逻辑应用程序中的函数抛出错误
delay until function in azure logic apps throwing error
我正在尝试通过获取 utcnow 时间戳、添加一分钟并转换为“延迟至”预期的时间格式来为“延迟至”操作添加一分钟延迟 (https://docs.microsoft.com/en-us/azure/connectors/connectors-native-delay#add-the-delay-until-action)
None 下面的工作并在下面抛出错误,我在这里缺少什么,有没有办法我们可以在没有逻辑应用程序的情况下独立测试这些功能?
1) @addMinutes(utcNow('o'),1,'YYYY-MM-DDThh:mm:ssZ')
2) @addMinutes(utcNow('YYYY-MM-DDThh:mm:ssZ'),1,'YYYY-MM-DDThh:mm:ssZ')
3) @addMinutes(utcNow(),1,'YYYY-MM-DDThh:mm:ssZ')
Unable to process template language expressions in action 'Delay_until' inputs at line '1' and column '2265': 'The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.'.
请尝试使用这个表达式:
addMinutes(utcNow(),1)
我测试了一下,好像没问题:
我正在尝试通过获取 utcnow 时间戳、添加一分钟并转换为“延迟至”预期的时间格式来为“延迟至”操作添加一分钟延迟 (https://docs.microsoft.com/en-us/azure/connectors/connectors-native-delay#add-the-delay-until-action)
None 下面的工作并在下面抛出错误,我在这里缺少什么,有没有办法我们可以在没有逻辑应用程序的情况下独立测试这些功能?
1) @addMinutes(utcNow('o'),1,'YYYY-MM-DDThh:mm:ssZ')
2) @addMinutes(utcNow('YYYY-MM-DDThh:mm:ssZ'),1,'YYYY-MM-DDThh:mm:ssZ')
3) @addMinutes(utcNow(),1,'YYYY-MM-DDThh:mm:ssZ')
Unable to process template language expressions in action 'Delay_until' inputs at line '1' and column '2265': 'The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.'.
请尝试使用这个表达式:
addMinutes(utcNow(),1)
我测试了一下,好像没问题: