xowf::WorkflowPage instproc is_wf (public)

 <instance of xowf::WorkflowPage[i]> is_wf

Defined in /var/www/openacs.org/packages/xowf/tcl/xowf-procs.tcl

Check, if the current page is a workflow page (page, defining a workflow)

Testcases:
create_test_items, create_workflow_with_instance
Source code:
if {[info exists :__wf(workflow_definition)]} {
  return 1
} elseif {[:property workflow_definition] ne ""} {
  array set :__wf ${:instance_attributes}
  return 1
} else {
  return 0
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: