GET_WORKFLOWS TEST_WORKFLOW_SCRIPT WORKFLOW_APPROVE WORKFLOW_CANCEL WORKFLOW_CHECKIN

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

Service that retrieves a list of all workflows including their description, security group, status, and type. Location: IdcHomeDirresourcescoretemplatesworkflow.htm

5.4.34 TEST_WORKFLOW_SCRIPT

Service used to check the validity of 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. ■ dDocName: Content item to be used in the test scenario. 5-32 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management

5.4.35 WORKFLOW_APPROVE

Service that approves a content item revision in a workflow. Location: IdcHomeDirresourcescoretemplatesworkflow.htm Additional Required Service Parameters ■ dID: The generated content item revision ID. Example IdcService=WORKFLOW_APPROVE dID=81

5.4.36 WORKFLOW_CANCEL

Service that cancels a Basic workflow. Location: IdcHomeDirresourcescoretemplatesworkflow.htm Additional Required Service Parameters ■ dWfName: The workflow name. Example IdcService=WORKFLOW_CANCEL dWfName=mktg_review

5.4.37 WORKFLOW_CHECKIN

Service that checks in a new revision of a content item that is in a workflow. The most likely error is when the specified content item or workflow does not exist. This service executes the subservice WORKFLOW_CHECKIN_SUB. This subservice checks a content item revision into a workflow. Access Level: Read 1 Queries Executed: QdociInfo, Qrevisions Calls Subservice: WORKFLOW_CHECKIN_SUB Location: IdcHomeDirresourcescoretemplatesworkflow.htm Additional Required Service Parameters ■ dDocName: The content item identifier Content ID. ■ dID: The generated content item revision ID. ■ dSecurityGroup: The security group such as Public or Secure. ■ dDocAccount: The account for the content item. Required only if accounts are enabled. ■ primaryFile: The absolute path to the location of the file as seen from the Oracle Content Server instance. Use the slash as the file separator. A primary file must be specified unless checking in metadata only. If an alternate file is specified with the primary file, the content refinery will convert the alternate file. Otherwise, the primary file will be converted. Workflow Services 5-33 – If a primary file is not specified, you can use a metafile in its place. Only one metafile can exist though for each content item a primary AND alternate meta file cannot coexist. – If both a primary and alternate file is specified, their extensions must be different. Optional Service Parameters ■ isFinished: Indicates that the editing is finished for a rejected content item. – 1 true: The revision will be checked in and approved. | – 0 false: The revision will be checked in but will still need to be approved. ■ doFileCopy: – 1 true: The file will not be deleted from the hard drive after checkin. – 0 false: The file will be removed from your hard drive after checkin. ■ alternateFile ■ RedirectUrl Results ■ Local Data: – Oracle Content Server: – alternateFile – changedSubjects – CurRevID – dAction – dActionDate – dCheckoutUser – dClbraName – dConversion – dCreateDate – dDocAccount – dDocAuthor – dDocID – dDocName – dDocTitle – dDocType – dExtension – dFileSize – dFormat – dID – dInDate – dIsPrimary 5-34 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management – dIsWebFormat – dlsCheckedOut – doFileCopy – dLocation – dOriginalName – dOutDate – dpAction – dpEvent – dProcessingState – dPublishState – dPublishType – dRawDocID – dReleaseState – dRevClassID – dRevisionID – dRevLabel – dRevRank – dSecurityGroup – dStatus – dUser – dUserName – isCheckin – isCurRevEmpty – isDocProfileUsed – isEditMode – isInfoOnly – isNew – IsNotLatestRev – isStatusChanged – IsUpdate – IsWorkflow – latestID – oldName – prevID – prevReleaseState – primaryFile Workflow Services 5-35 – VaultfilePath – WebfilePath – Workflow: dWfComputed dWfCurrentStepID dWfDirectory dWfDocState dWfEntry dWfID dWfName dWfStatus dWfStepID dWfStepDescription dWfStepIsAll dWfStepName dWfStepType dWfStepWeight dWfType dWorkflowState entryCount wfAction wfCurrentStepPrefix WfEditFinished wfMessage wfStepCheckinType ■ Response Template: – REDIRECT_TEMPLATE redirect_template.htm – Default redirect service branched: GET_WORKFLOWDOCREVISIONS or GET_PORTAL_PAGE Page=WF_INQUEUE_LIST Example IdcService=WORKFLOW_CHECKIN dID=92 dDocName=test_00063 dWfID=4 dSecurityGroup=Public dDocAccount=mainaccount dWfType=Criteria 5-36 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management dWfName=mktg_review primaryFile=c:hello_hello.txt dRevLabel=2 doFileCopy=1 isFinished=1

5.4.38 WORKFLOW_EDIT_APPROVE