DOCUMENTS 5 - PortalScripting API
|
The WorkflowStep class allows access to the according object type of DOCUMENTS. More...
Public Member Functions | |
boolean | forwardFile (String controlFlowId, String comment="") |
Forward the file to its next WorkflowStep. More... | |
String | getAttribute (String attribute) |
Get the String value of an attribute of the WorkflowStep. More... | |
ControlFlowIterator | getControlFlows () |
Retrieve an iterator representing a list of all outgoing ControlFlows of the WorkflowStep. More... | |
String | getLastError () |
Function to get the description of the last error that occurred. More... | |
String | getOID (boolean oidLow=false) |
Returns the object-id. More... | |
String | getWorkflowName () |
Retrieve the name of the workflow, the WorkflowStep belongs to. More... | |
String | getWorkflowProperty (String propertyName) |
Retrieve a property value of the workflow action, the WorkflowStep belongs to. More... | |
String | getWorkflowVersion () |
Retrieve the version number of the workflow, the WorkflowStep belongs to. More... | |
boolean | setAttribute (String attribute, String value) |
Set the String value of an attribute of the WorkflowStep to the desired value. More... | |
boolean | setNewExecutiveGroup (String accessProfileName) |
Reassign the current WorkflowStep object to the given user group. More... | |
boolean | setNewExecutiveUser (String loginUser) |
Reassigns the current WorkflowStep object to the given user. More... | |
Public Attributes | |
String | executiveGroup |
String value containing the locking user group of the WorkflowStep. More... | |
String | executiveType |
String value containing the type of recipient of the WorkflowStep. More... | |
String | executiveUser |
String value containing the locking user of the WorkflowStep. More... | |
String | firstControlFlow |
String value containing the unique internal ID of the first outgoing ControlFlow. More... | |
String | id |
String value containing the unique internal ID of the WorkflowStep. More... | |
String | name |
String value containing the technical name of the WorkflowStep. More... | |
String | status |
String value containing the status of the WorkflowStep. More... | |
String | templateId |
String value containing the unique internal ID of the Workflow template. More... | |
The WorkflowStep class allows access to the according object type of DOCUMENTS.
You may access WorkflowStep objects by the different methods described in the DocFile chapter.
boolean WorkflowStep::forwardFile | ( | String | controlFlowId, |
String | comment = "" |
||
) |
Forward the file to its next WorkflowStep.
This requires the internal ID (as a String value) of the ControlFlow you want the file to pass through. The optional comment parameter will be stored as a comment in the file's monitor.
controlFlowId | String value containing the internal ID of the ControlFlow you want to pass through. |
comment | optional String value containing your desired comment for the file's monitor. |
true
if successful, false
in case of any error String WorkflowStep::getAttribute | ( | String | attribute | ) |
Get the String value of an attribute of the WorkflowStep.
attribute | String containing the name of the desired attribute |
ControlFlowIterator WorkflowStep::getControlFlows | ( | ) |
Retrieve an iterator representing a list of all outgoing ControlFlows of the WorkflowStep.
String WorkflowStep::getLastError | ( | ) |
Function to get the description of the last error that occurred.
String WorkflowStep::getOID | ( | boolean | oidLow = false | ) |
Returns the object-id.
oidLow | Optional flag: If true only the id of the WorkflowStep object (m_oid ) will be returned. If false the id of the WorkflowStep object will be returned together with the id of the corresponding class in the form class-id:m_oid . The default value is false . |
String
with object-id oidLow
) String WorkflowStep::getWorkflowName | ( | ) |
Retrieve the name of the workflow, the WorkflowStep belongs to.
String WorkflowStep::getWorkflowProperty | ( | String | propertyName | ) |
Retrieve a property value of the workflow action, the WorkflowStep belongs to.
propertyName | String containing the name of the desired property |
String WorkflowStep::getWorkflowVersion | ( | ) |
Retrieve the version number of the workflow, the WorkflowStep belongs to.
boolean WorkflowStep::setAttribute | ( | String | attribute, |
String | value | ||
) |
Set the String value of an attribute of the WorkflowStep to the desired value.
attribute | String containing the name of the desired attribute |
value | String containing the desired value of the attribute |
true
if successful, false
in case of any error boolean WorkflowStep::setNewExecutiveGroup | ( | String | accessProfileName | ) |
Reassign the current WorkflowStep object to the given user group.
accessProfileName | String containing the technical name of the access profile. |
true
if successful, false
in case of any error. boolean WorkflowStep::setNewExecutiveUser | ( | String | loginUser | ) |
Reassigns the current WorkflowStep object to the given user.
loginUser | String containing the login name of the desired user. |
true
if successful, false
in case of any error String WorkflowStep::executiveGroup |
String value containing the locking user group of the WorkflowStep.
String WorkflowStep::executiveType |
String value containing the type of recipient of the WorkflowStep.
String WorkflowStep::executiveUser |
String value containing the locking user of the WorkflowStep.
String WorkflowStep::firstControlFlow |
String value containing the unique internal ID of the first outgoing ControlFlow.
String WorkflowStep::id |
String value containing the unique internal ID of the WorkflowStep.
String WorkflowStep::name |
String value containing the technical name of the WorkflowStep.
String WorkflowStep::status |
String value containing the status of the WorkflowStep.
String WorkflowStep::templateId |
String value containing the unique internal ID of the Workflow template.