### Hierarchy

- DefinitionWorkflow

## Index

### Methods

- getWorkflowDefinition

## Methods

### Static getWorkflowDefinition

- getWorkflowDefinition(session: AbstractSession, zOSMFVersion?: string, filePath: string, steps: boolean, variables: boolean): Promise<IWorkflowDefinition>

- - Defined in @zowe/zos-workflows-for-zowe-sdk/src/Definition.ts:32

  This operation returns properties of the workflow. Parameters indicators are mandatory,request can include steps and variables indicator for requested result.

  memberof

    Definition

  #### Parameters

  - ##### session: AbstractSession

    z/OSMF connection info

  - ##### Default value zOSMFVersion: string = WorkflowConstants.ZOSMF_VERSION

    the URI path that identifies the version of the provisioning service.

  - ##### filePath: string

    workflow definition name with path.

  - ##### steps: boolean

    Optional parameter for listing steps properties.

  - ##### variables: boolean

    Optional parameter for listing variables properties.

  #### Returns Promise<IWorkflowDefinition>

  z/OSMF response object

Generated using TypeDoc