- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
Debug Workflow liquid syntax
Hi,
When i run below code in liquide sandbox (https://jumpseller.com/support/liquid-sandbox/) its working fine.
------------------
{% assign ChkCrrTotUsg = 1000 %}
{% assign FetchTotUsg = 2600 %}
{% if ChkCrrTotUsg == 0 and FetchTotUsg > 1000 %}
{% assign cTotalUsage = FetchTotUsg | minus: 1000 %}
{% else %}
{% assign cTotalUsage = ChkCrrTotUsg | plus: FetchTotUsg %}
{% endif %}
{{ChkCrrTotUsg}
----------------------
But when i try to run it in workflow "logic-if" it keeps throwing following error.
[ If statement evaluated to ''. Only 'True' and 'False' are acceptable evaluations.]
I think its some simple mistake i am doing, but hard for me to figure it out in workflow.
Thanx,
Chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.