I am currently trying to build a script that will build Component Template with rules based on the 8.6 Command option and I'm running into some difficulties.
I can create the Template and the Rule Group, but I can't seem to figure out succesfully create the condition for the rules.
I think I need to run the Template addRulesWithCondition command. But in order to do that I need to run Condition createCondition. But I can't seem to figure out the syntax for that.
Would anyone have an example of how to do this by any chance.