workflow::case::get_notification_object (public)
workflow::case::get_notification_object -type type \ [ -workflow_id workflow_id ] [ -case_id case_id ]
Defined in packages/workflow/tcl/case-procs.tcl
Get the relevant object for this notification type.
- Switches:
- -type (required)
- Type is one of 'workflow_assignee', 'workflow_my_cases', 'workflow_case' (requires case_id), and 'workflow' (requires workflow_id).
- -workflow_id (optional)
- -case_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: switch $type { workflow_case { if { (![info exists case_id] || $case_id eq "") } { return {} } return [workflow::case::get_element -case_id $case_id -element object_id] } default { if { (![info exists workflow_id] || $workflow_id eq "") } { return {} } return [workflow::get_element -workflow_id $workflow_id -element object_id] } }Generic XQL file: packages/workflow/tcl/case-procs.xql
PostgreSQL XQL file: packages/workflow/tcl/case-procs-postgresql.xql
Oracle XQL file: packages/workflow/tcl/case-procs-oracle.xql