逻辑应用程序:在逻辑功能中使用动态内容

Logic Apps : Use Dynamic content within the Logical functions

我正在尝试使用字段之一在逻辑应用程序中添加条件。我有一个名为 score 的字段。

我想添加条件并插入名为 "Result" 的 SQL 数据库列。

得分 returns 从 1 到 10 的值。我只想检查

这就是我所做的,我使用了名为 "if" 的逻辑函数并将条件写为,

if(parameters("Score")>5,"Positive","Negative") //just an example to check

但是它说 "The expression is invalid" ,我应该如何更正它?

试试下面的方法。对我有用

if(greater(parameters('score'),5) ,'Positive','Negative')