PeopleSoft · Arazzo Workflow

PeopleSoft Process a Pending Approval

Version 1.0.0

List the user's pending approvals and approve, deny, or push back the first one when present.

1 workflow 1 source API 1 provider
View Spec View on GitHub Campus SolutionsCRMEnterprise SoftwareERPFinancial ManagementHCMSupply Chain ManagementArazzoWorkflows

Provider

peoplesoft

Workflows

approval-process
Find the first pending approval and act on it.
Lists pending approvals and, when at least one exists, processes the first request with the supplied action and comments.
2 steps inputs: action, authorization, comments outputs: approvalId, result
1
listApprovals
Retrieve the pending approval requests for the current user and branch on whether any are waiting.
2
processApproval
Approve, deny, or push back the first pending approval request with the supplied action and comments.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: PeopleSoft Process a Pending Approval
  summary: List the user's pending approvals and approve, deny, or push back the first one when present.
  description: >-
    A workflow over the PeopleSoft Approval Workflow Engine. It retrieves the
    pending approval requests for the authenticated user, branches on whether
    any approval is waiting, and when one is present applies the requested
    action (approve, deny, or push back) to the first pending request with
    optional comments. Every step spells out its request inline so the flow can
    be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: approvalsApi
  url: ../openapi/peoplesoft-approvals-api-openapi.yml
  type: openapi
workflows:
- workflowId: approval-process
  summary: Find the first pending approval and act on it.
  description: >-
    Lists pending approvals and, when at least one exists, processes the first
    request with the supplied action and comments.
  inputs:
    type: object
    required:
    - authorization
    - action
    properties:
      authorization:
        type: string
        description: HTTP Basic auth header value (e.g. "Basic dXNlcjpwYXNz").
      action:
        type: string
        description: The action to take on the approval.
        enum:
        - approve
        - deny
        - pushback
      comments:
        type: string
        description: Optional comments recorded with the approval action.
  steps:
  - stepId: listApprovals
    description: >-
      Retrieve the pending approval requests for the current user and branch on
      whether any are waiting.
    operationId: listPendingApprovals
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authorization
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      approvals: $response.body#/approvals
      firstApprovalId: $response.body#/approvals/0/approvalId
    onSuccess:
    - name: hasApproval
      type: goto
      stepId: processApproval
      criteria:
      - context: $response.body
        condition: $.approvals.length > 0
        type: jsonpath
    - name: noApproval
      type: end
      criteria:
      - context: $response.body
        condition: $.approvals.length == 0
        type: jsonpath
  - stepId: processApproval
    description: >-
      Approve, deny, or push back the first pending approval request with the
      supplied action and comments.
    operationId: processApproval
    parameters:
    - name: approvalId
      in: path
      value: $steps.listApprovals.outputs.firstApprovalId
    - name: Authorization
      in: header
      value: $inputs.authorization
    requestBody:
      contentType: application/json
      payload:
        action: $inputs.action
        comments: $inputs.comments
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      result: $response.body
  outputs:
    approvalId: $steps.listApprovals.outputs.firstApprovalId
    result: $steps.processApproval.outputs.result

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/peoplesoft-approval-process-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.