Hello Mihai
Thank you for your answer. This sounds like a better solution.
Do you know where I can find any documentation on how to write the conditions for the custom actions? I haven't been able to find any description of how to write the "boolean expression"s.
Regards
Anders