Foundations of Action/Triger-based telephony,
[working/Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Application / Trigger.pm
index ee70b0b..d014c99 100644 (file)
@@ -490,6 +490,7 @@ sub create_batch_events {
             $event->event_def( $def->id );
             $event->run_time( $run_time );
             $event->user_data( OpenSRF::Utils::JSON->perl2JSON($user_data) ) if (defined($user_data));
+            $event->granularity($granularity) if (defined $granularity);
 
             $editor->create_action_trigger_event( $event );