- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowf::Context
::xowf::Contextcreate ... \
[ -all_roles (default "false") ] \
[ -current_state (default "[self]::initial") ] \
[ -default_definition (default "") ] \
[ -in_role in_role ] \
[ -object object ] \
[ -wf_container wf_container ] \
[ -workflow_definition workflow_definition ]
Defined in
Class Relations
Methods (to be applied on the object)
require (scripted, public)
xowf::Contextrequire [ -new ] obj
Create the workflow context for an object if needed.
- Switches:
- -new (optional, defaults to
"false")- Discard an existing context and create a fresh one.
- Parameters:
- obj (required)
- Workflow object.
- Returns:
- The initialized workflow context, or the existing context.
- Testcases:
- create_workflow_with_instance
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)