Defined in
- Testcases:
-
create_workflow_with_instance, xowf
Source code:
set ctx $obj-wfctx
if {$new && [nsf::is object $ctx]} {
$ctx destroy
}
if {![nsf::is object $ctx]} {
set wfContextClass [$obj wf_property workflow_context_class [self]]
regsub -all \r\n [$obj wf_property workflow_definition] \n workflow_definition
$wfContextClass create $ctx -object $obj -workflow_definition $workflow_definition -destroy_on_cleanup
$ctx initialize_context $obj
}
return $ctx
XQL Not present:Generic, PostgreSQL, Oracle