Package net.pricefx.workflowengine
package net.pricefx.workflowengine
The state of a document's approval workflow, as the user interface shows it.
WorkflowInfo lists the steps of a workflow in order, with the details of each step.
A logic reads it to find where a document stands in its approval.
Entry point:
PublicGroovyAPI.findWorkflowInfo(String, Object)
for an active workflow. The example reads the workflow of one Quote.
def quote = api.find("Q", 0, 1, null, Filter.equal("uniqueName", "P-123"))[0]
def info = quote ? api.findWorkflowInfo("Q", quote.id) : null
Reference
WorkflowInfolists the steps of an approval workflow and their details.
-
ClassesClassDescriptionThis structure represents an entire workflow with multiple steps.This structure describes each workflow step in detail