ADD_WORKFLOW ADD_WORKFLOW_SCRIPT ADD_WORKFLOW_TOKEN ADD_WORKFLOWALIASES

Workflow Services 5-15 ■ DELETE_WORKFLOW_SCRIPT ■ DELETE_WORKFLOW_TOKEN ■ DELETE_WORKFLOWCRITERIA ■ DELETE_WORKFLOWDOCUMENTS ■ DELETE_WORKFLOWSTEP ■ EDIT_WORKFLOW ■ EDIT_WORKFLOW_SCRIPT ■ EDIT_WORKFLOW_TOKEN ■ EDIT_WORKFLOWCRITERIA ■ EDIT_WORKFLOWSTEP ■ GET_ACTIVE_WORKFLOWS ■ GET_ALL_WORKFLOWDOCREVISIONS ■ GET_CRITERIA_WORKFLOWS_FOR_GROUP ■ GET_WF_COMPANION_INFO ■ GET_WORKFLOW ■ GET_WORKFLOW_INFO ■ GET_WORKFLOW_INFO_BYNAME ■ GET_WORKFLOW_SCRIPT ■ GET_WORKFLOWDOCREVISIONS ■ GET_WORKFLOW_INFO ■ GET_WORKFLOWS ■ TEST_WORKFLOW_SCRIPT ■ WORKFLOW_APPROVE ■ WORKFLOW_CANCEL ■ WORKFLOW_CHECKIN ■ WORKFLOW_EDIT_APPROVE ■ WORKFLOW_REJECT ■ WORKFLOW_START

5.4.1 ADD_WORKFLOW

Service that creates a new workflow. This service is executed by the Workflow Admin applet. Workflows and sub-workflows can be added, edited, enabled, disabled, and deleted from the Workflow Admin administration applet. The most likely error is when the workflow name is not unique. Location: IdcHomeDirresourcescoretemplatesworkflow.htm Additional Required Service Parameters ■ dWfName: The workflow name. ■ dWfDescription: The workflow description. 5-16 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management ■ dWfType: The workflow type such as Basic or Criteria. ■ dSecurityGroup: The security group such as Public or Secure. ■ dWfCriteriaName: The workflow criteria field. ■ dWfCriteriaOperator: The workflow criteria operator matches. ■ dWfCriteriaValue: The workflow criteria value. Example IdcService=ADD_WORKFLOW dWfName=test_workflow dSecurityGroup=Public dWfType=Criteria dWfCriteriaName=dDocAuthor dWfCriteriaOperator=matches dWfCriteriaValue=sysadmin dWfDescription=testing workflow

5.4.2 ADD_WORKFLOW_SCRIPT

Service used to add a script template for a workflow. Location: IdcHomeDirresourcescoretemplatesworkflow.htm Additional Required Service Parameters ■ wfScriptName: Name of the script template to be used. ■ wfScriptDescription: Description used for the script.

5.4.3 ADD_WORKFLOW_TOKEN

Service used to add tokens for workflows. Service Class: Workflow Service Location: IdcHomeDirresourcescoretemplatesworkflow.htm Additional Required Service Parameters ■ wfToken: Default token to use to create the new token. ■ wfTokenName: Name of the new token to be added. ■ wfTokenDescription: Description used for the token.

5.4.4 ADD_WORKFLOWALIASES

Service that adds a user or an alias to a workflow step. To add a user, set the dAliasType parameter to user. To add an alias, set dAliasType to alias. The most likely error is when the specified workflow does not exist. Service Class: Workflow Service Location: IdcHomeDirresourcescoretemplatesworkflow.htm Note: The alias is not defined here. The alias must already exist. It is usually created using the UserAdmin applet. Workflow Services 5-17 Additional Required Service Parameters ■ aliases: The alias name. ■ dAliasType: The assigned alias type. Values can be alias or user. ■ dWfID: The workflow ID. ■ dWfName: The workflow name. ■ dWfStepID: The workflow contribution stage ID. This auto-generated value can be retrieved from the database table. The Oracle Content Server system automatically assigns dWfStepID for that contribution stage. Example IdcService=ADD_WORKFLOWALIASES dWfName=mktg_review dWfID=12 dAliasType=user aliases=sammy dWfStepID=26

5.4.5 ADD_WORKFLOWDOCUMENT