workflow::install::register_notification_types (public)
workflow::install::register_notification_types
Defined in packages/workflow/tcl/install-procs.tcl
Register workflow notification types
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set sc_impl_id [acs_sc::impl::get_id -owner workflow -name "WorkflowNotificationType"] set type_id [list] lappend type_ids [notification::type::new -sc_impl_id $sc_impl_id -short_name "workflow_assignee" -pretty_name "Workflow Assignee" -description "Notification of people who are assigned to an action in a workflow."] lappend type_ids [notification::type::new -sc_impl_id $sc_impl_id -short_name "workflow_my_cases" -pretty_name "Workflow My Cases" -description "Notification on all activity in any case you're participating in."] lappend type_ids [notification::type::new -sc_impl_id $sc_impl_id -short_name "workflow_case" -pretty_name "Workflow Case" -description "Notification on all activity in a specific case that you're interested in."] lappend type_ids [notification::type::new -sc_impl_id $sc_impl_id -short_name "workflow" -pretty_name "Workflow" -description "Notification on all activity in any case in a particular workflow (typically an instance of a package)."] # Enable all available intervals and delivery methods foreach type_id $type_ids { db_dml enable_all_intervals {} db_dml enable_all_delivery_methods {} }XQL Not present: PostgreSQL, Oracle Generic XQL file: <fullquery name="workflow::install::register_notification_types.enable_all_intervals"> <querytext> insert into notification_types_intervals (type_id, interval_id) select :type_id, interval_id from notification_intervals </querytext> </fullquery> <fullquery name="workflow::install::register_notification_types.enable_all_delivery_methods"> <querytext> insert into notification_types_del_methods (type_id, delivery_method_id) select :type_id, delivery_method_id from notification_delivery_methods </querytext> </fullquery>packages/workflow/tcl/install-procs.xql