Skip to content

Add z/OSMF list workflows API support - #576

Merged
frankgiordano merged 1 commit into
zowe:mainfrom
Ashish-Kumar-Dash:list-workflow
Jul 16, 2026
Merged

Add z/OSMF list workflows API support#576
frankgiordano merged 1 commit into
zowe:mainfrom
Ashish-Kumar-Dash:list-workflow

Conversation

@Ashish-Kumar-Dash

@Ashish-Kumar-Dash Ashish-Kumar-Dash commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Provides a workflow API method to list the z/OSMF workflows for a system or sysplex, per the IBM REST API reference:
https://www.ibm.com/docs/en/zos/3.2.0?topic=services-list-workflows-system-sysplex

Changes

  • WorkflowList - adds getWorkflows(), getWorkflowsByName(String) and getWorkflowsCommon(WorkflowListInputData), mirroring the existing getArchived* methods.
  • WorkflowListInputData - builder for the six optional query filters: workflowName, category, system, statusName, owner and vendor.
  • WorkflowInfoResponse - the workflow-info object returned in the workflows array (all ten documented fields).
  • CategoryType / StatusNameType - enums for the fixed-value query parameters, following the existing ViewType / OrderByType pattern.

Free-text filter values are encoded with EncodeUtils.encodeURIComponent. Since every filter is optional, the query string is assembled with a StringJoiner so the ? and & delimiters stay correct for any combination of filters.

Resolves #470

@frankgiordano
frankgiordano self-requested a review July 16, 2026 16:06
@frankgiordano frankgiordano added the enhancement New feature or request label Jul 16, 2026
Comment thread src/main/java/zowe/client/sdk/zosmfworkflow/methods/WorkflowList.java Outdated
Comment thread src/main/java/zowe/client/sdk/zosmfworkflow/methods/WorkflowList.java Outdated
Signed-off-by: Ashish Kumar Dash <ashishdash2410@gmail.com>
@frankgiordano
frankgiordano merged commit af06318 into zowe:main Jul 16, 2026
4 checks passed
@Ashish-Kumar-Dash
Ashish-Kumar-Dash deleted the list-workflow branch July 16, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

List the workflows for a system or sysplex API

2 participants