I'd like to replace my 'Add Cleanup tag' and 'Remove Cleanup tag' action chains with a single one that toggles it.
Code:
program:
if
'[Cleanup]' inlist $tags
then
list_difference($tags,'[Cleanup]' , ',')
else
list_union($tags,'[Cleanup]' , ',')
fi
Line 8 is failing - it works on its own, so the mistake is something with the conditions. What did I do wrong?