Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想根据以下条件分配我的变量值
var Result; If(A==2) Result = A; else if(A>2) Result = A+2;
如何用逻辑应用程序的 dotLiquid 语法编写此内容
Logic App Liquid 映射可以是这样的:
{ {% assign my_variable = content.a %} {% if my_variable == 2 %} "Result" : "{{ my_variable }}" {% elsif my_variable > 2 %} "Result" : "{{ my_variable | Plus: 2 }}" {% endif %} }