This tag accesses all available workflows and saves them to a result object named by the var attribute so other tags can access them.

Attributes

The following attributes are defined for the pws:getWorkflowDefinitions tag:

Attribute

Description

Required?

var

Names the result object to contain workflow information.

yes

userOnly

Indicates whether only workflows that the current user can start (true) or all workflows (false) are located. The default value is false.

no

index

The number that designates where, in the context of the accessed workflows, the list of returned workflows should begin. The default value is 0.

no

count

The number of workflows to save to the result object.

no

Result Object Properties

The following properties are defined for the result object produced by the pws:getWorkflowDefinitions tag:

Property

Description

size

Contains the number of workflow definitions in the workflowsDefinition property.

workflowDefinitions

Contains a list of atg.workflow.WorkflowDescriptor objects.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices