## Uses of Interface
com.ibm.openpages.api.workflow.IWFProcessDefinition

- Packages that use IWFProcessDefinition
  Package | Description
  --- | ---
  com.ibm.openpages.api.service | Provides the main interfaces to work with the API services.
  com.ibm.openpages.api.workflow | Provides interfaces to work with native workflow system.
  com.ibm.openpages.api.workflow.actions |

- - ### Uses of IWFProcessDefinition in com.ibm.openpages.api.service

    Methods in com.ibm.openpages.api.service that return IWFProcessDefinition
    Modifier and Type | Method and Description
    --- | ---
    `IWFProcessDefinition` | IWorkflowService.`createProcessDefinition(IWFProcessDefinition processDefinition)` Creates a process definition.
    `IWFProcessDefinition` | IWorkflowService.`discardDraftDefinition(Id processDefinitionId)` Discard the draft content of the process definition.
    `IWFProcessDefinition` | IWorkflowService.`getProcessDefinition(Id processDefinitionId, boolean draft)` Returns a process definition by ID
    `IWFProcessDefinition` | IWorkflowService.`getProcessDefinition(java.lang.String name, Id typeDefinitionId, boolean draft)` Returns a process definition by name, type definition ID
    `IWFProcessDefinition` | IWorkflowService.`getProcessDefinitionByVersionId(Id versionId)` Returns a process definition by the version ID
    `IWFProcessDefinition` | IWorkflowService.`publishProcessDefinition(Id processDefinitionId)` Publish the draft content of the process definition, so it can be started on a resource during the resource creation or the user's submission.
    `IWFProcessDefinition` | IWorkflowService.`updateProcessDefinition(IWFProcessDefinition processDefinition)` Updates a process definition.

    Methods in com.ibm.openpages.api.service that return types with arguments of type IWFProcessDefinition
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<IWFProcessDefinition>` | IWorkflowService.`getProcessDefinitions(Id processDefinitionId)` Returns the published and draft versions of the process definition if they exist.
    `java.util.List<IWFProcessDefinition>` | IWorkflowService.`getProcessDefinitionsToStartOn(IGRCObject grcObject)` Returns the list of process definitions that a user can start on the given resource.

    Methods in com.ibm.openpages.api.service with parameters of type IWFProcessDefinition
    Modifier and Type | Method and Description
    --- | ---
    `IWFProcessDefinition` | IWorkflowService.`createProcessDefinition(IWFProcessDefinition processDefinition)` Creates a process definition.
    `IWFProcessDefinition` | IWorkflowService.`updateProcessDefinition(IWFProcessDefinition processDefinition)` Updates a process definition.

  - ### Uses of IWFProcessDefinition in com.ibm.openpages.api.workflow

    Methods in com.ibm.openpages.api.workflow that return IWFProcessDefinition
    Modifier and Type | Method and Description
    --- | ---
    `IWFProcessDefinition` | IWFProcessDefinition.`clone()` Returns a cloned instance.
    `IWFProcessDefinition` | IWorkflowFactory.`createProcessDefinition(java.lang.String name, Id typeId)` Creates a new instance of process definition to be persisted on the system

    Methods in com.ibm.openpages.api.workflow that return types with arguments of type IWFProcessDefinition
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<IWFProcessDefinition>` | WFProcessDefinitionList.`getProcessDefinitions()` Get the list of `IWFProcessDefinition` results based on the Search options provided via {#link IWFProcessDefinitionFindOptions}

    Constructor parameters in com.ibm.openpages.api.workflow with type arguments of type IWFProcessDefinition
    Constructor and Description
    `WFProcessDefinitionList(int totalResultCount, java.util.List<IWFProcessDefinition> processDefinitions)`
    `WFProcessDefinitionList(java.util.List<IWFProcessDefinition> processDefinitions)`

  - ### Uses of IWFProcessDefinition in com.ibm.openpages.api.workflow.actions

    Methods in com.ibm.openpages.api.workflow.actions that return IWFProcessDefinition
    Modifier and Type | Method and Description
    --- | ---
    `IWFProcessDefinition` | IWFOperationContext.`getProcessDefinition()` Returns the process definition.

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.