Class to handle starting of zOSMF workflow instance

### Hierarchy

- StartWorkflow

## Index

### Methods

- startWorkflow

## Methods

### Static startWorkflow

- startWorkflow(session: AbstractSession, workflowKey: string, resolveConflict?: startT, step?: string, subsequent?: boolean, zOSMFVersion?: string): Promise<any>

- - Defined in @zowe/zos-workflows-for-zowe-sdk/src/Start.ts:38

  Create a zOSMF workflow instance

  #### Parameters

  - ##### session: AbstractSession

    z/OSMF connection info

  - ##### workflowKey: string

    Unique key that workflow instant got assigned by zOSMF

  - ##### Optional resolveConflict: startT

    Indicates how variable conflicts are to be handled when the Workflows task reads in the output file from a step. Allowed values are: outputFileValue, existingValue, leaveConflict(have to resolve conflict manually)

  - ##### Optional step: string

    Specifies the step name that will run.

  - ##### Optional subsequent: boolean

    If the workflow contains any subsequent automated steps, this property indicates whether z/OSMF is to perform the steps.

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

    Identifies the version of the zOSMF workflow service.

  #### Returns Promise<any>

Generated using TypeDoc