Unfortunately, there isn't a completely codeless way to do this. However, qRules provides functionality to do this (and a lot more) and can save you from having to write any of your own code.
Jimmy Rishe / Software Developer / Microsoft MVP
Qdabra Software