Added support to trigger the action for a given probability (not only when the node is completly defined)