Hey , 

I do have the same requirement. I tried both the ways you mentioned but nothing works for me.

In my case - 

1.I created a check box variable on Record producer and mapped it to a field on table. 

Then in the notification , on inserted/updated and field is true , then trigger the notification to a group - xxx

2.In the Record producer script , i gave the condition 

if (producer.field_name == 'true') {
    gs.eventQueue('event_name', current);
In the notication i selected the same event and recipients are same , group is selected.
When i check the checkbox and submit the record producer , in both the ways email is not triggered.
Please help me with solution.
Thanks in advance!!
}