When creating a workflow, it can sometimes be required to create a custom line of code. In this article, I will try to clarify which types of indicators or keywords you will need to construct your sentence of code.
All workflows have a trigger + condition + action. However, sometimes the condition is part of the action section of the workflow. Like here:
In this case, it is a big blank white box you will need to free text your code into, to make the action work as intended.
The free text is, however, limited by keywords. In the table below the available/possible keywords are listed for your clarification.
The examples cover SKU and Description but can also be of anything else you may need. In fact, all order data can be altered within a custom workflow.
like : is when a single value is identical to something.
in : is similar to 'like' but allows for multiple values.
= : is the equals symbol and therefore the value most be exactly identical to the value.
!= : is when something is NOT EQUALS to a given value.
And or Or can be used to combine multiple sentences/codes to each other.