GET_WORKFLOW_INFO_BYNAME GET_WORKFLOW_SCRIPT GET_WORKFLOWDOCREVISIONS

5-28 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management Additional Required Service Parameters ■ dID: The generated content item revision ID. ■ dWfStepID: The workflow contribution stage ID. This auto-generated value can be retrieved from the database table. Results ■ Result Sets: – WorkflowSteps All fields from all rows of WorkflowSteps DB table for specified workflow – WorkflowStep All WorkflowSteps fields for current step plus dUsers and dHasTokens fields – DOC_INFO All fields from Revisions and DocMeta for the specified revision – WorkflowInfo All fields from Workflows DB table for specified workflow – WorkflowState dUserName field only from WorkflowState DB table for specified content item – WorkflowActionHistory Result set from corresponding HDA file in data\workflow\states directory ■ Local Data: – AuthorAddress – dID – dUser – dWfCurrentStepID – dWfName – dWfStepID – RemainingStepUsers ■ Response Template: WORKFLOW_INFO workflow_info.htm Used By ■ Resource Includes: clbra_wf_doc_list Example IdcService=GET_WORKFLOW_INFO dID=61 dWfStepID=19

5.4.30 GET_WORKFLOW_INFO_BYNAME

Service used to retrieve information about a workflow based on the name of a document in the workflow. It returns the Workflow Information page for a content item, which lists the history of the document, what steps remain in the workflow, and who is currently reviewing the workflow. Access Level: Read, Global, Scriptable 49 Workflow Services 5-29 Queries Executed: ■ QdocNameMeta ■ QworkflowDocument ■ QworkflowForID ■ QwfDocState ■ QworkflowSteps Location: IdcHomeDirresourcescoretemplatesworkflow.htm Additional Required Service Parameters ■ dDocName: The name of a document in an active workflow. Results ■ Result Sets: – WorkflowSteps All fields from all rows of WorkflowSteps DB table for specified workflow – WorkflowStep All WorkflowSteps fields for current step plus dUsers and dHasTokens fields – DOC_INFO All fields from Revisions and DocMeta for the specified content item – WorkflowInfo All fields from Workflows DB table for specified workflow – WorkflowState dUserName field only from WorkflowState DB table for specified content item – WorkflowActionHistory Result set from corresponding HDA file in data\workflow\states directory ■ Local Data: – AuthorAddress – dUser – dWfName – dWfStepID – RemainingStepUsers ■ Response Template: WORKFLOW_INFO workflow_info.htm Used By ■ Resource Includes: – setup_workflow_action_popups – wf_in_queue_display – workflow_action_popup ■ Templates: – WORKFLOW_REVIEW_FORM workflow_review_form.htm – WORKFLOW_REVIEW_FRAMES workflow_review_frames.htm ■ Other: SoapCustom:Wsdl:Workflow:Services 5-30 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management

5.4.31 GET_WORKFLOW_SCRIPT

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

5.4.32 GET_WORKFLOWDOCREVISIONS

Service that returns a list of content item revisions that are in a specific workflow. This service is run in the browser environment by selecting Active Workflows in PNE links and clicking on the workflow name. The most likely error is a workflow name that does not exist. Access Level: Read, Global, Scriptable 49 Queries Executed: ■ Qworkflow ■ QwfStates ■ QworkflowDocuments ■ QworkflowSteps Location: IdcHomeDirresourcescoretemplatesworkflow.htm Additional Required Service Parameters ■ dWfName: The workflow name. Results ■ Result Sets: – WorkflowSteps All fields from all rows of WorkflowSteps DB table for specified workflow plus the additional fields, dUsers and dHasTokens – WfDocuments Rows correspond to each content item belonging to the specified workflow; each row contains all fields from WorkflowDocuments, Revisions, and DocMeta DB tables – WorkflowStates All fields from the WorkflowStates DB table for the specified workflow – WF_INFO All fields from the Workflows DB table for the specified workflow ■ Local Data: – dUser – dWfName – isCollaboration ■ Response Template: – WORKFLOW_DOCS workflow_docs_list.htm Workflow Services 5-31 Used By ■ Resource Includes: – checkin_multiuploadapplet_processing_functions – setup_active_standard_workflows_table_row – legacy_active_collaboration_workflows_table – legacy_active_standard_workflows_table – wf_in_queue_display – workflow_action_popup – workflow_revisions_href ■ Templates: – CONTRIBUTOR_MAIL contributor_mail.htm – PROJECT_INFO project_info.htm – WF_REJECT_MAIL reject_mail.htm – WORKFLOW_INFO workflow_info.htm – WORKFLOW_REJECT_FORM reject_doc.htm – WORKFLOW_REVIEW_FORM workflow_review_form.htm ■ Other: SoapCustom:Wsdl:Workflow:Services – Redirect service for: WORKFLOW_APPROVE, WORKFLOW_EDIT_ APPROVE, WORKFLOW_REJECT, WORKFLOW_CHECKIN Example IdcService=GET_WORKFLOW dWfName=mktg_review

5.4.33 GET_WORKFLOWS