---
title: "GET /ver2/WorkflowService.svc/workflows/{workflowIdOrUniqueId}/steps/currentstep"
method: GET
path: "/ver2/WorkflowService.svc/workflows/{workflowIdOrUniqueId}/steps/currentstep"
tags: ["Workflow"]
---

# GET /ver2/WorkflowService.svc/workflows/{workflowIdOrUniqueId}/steps/currentstep

`GET /ver2/WorkflowService.svc/workflows/{workflowIdOrUniqueId}/steps/currentstep`

## Request

- Base URL: `https://api.enviance.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.enviance.com/ver2/WorkflowService.svc/workflows/{workflowIdOrUniqueId}/steps/currentstep`
- Auth: none declared
- TypeScript: <https://skmtc.dev/enviance/apis/restapi/docs/ver2/WorkflowService.svc/workflows/:workflowIdOrUniqueId/steps/currentstep/get.ts> (a function with typed inputs; its response is checked against the schema)

envianceSdk.workflows.getWorkflowCurrentStep
```
[
  "B5E7E7A4-D294-4D7C-ABC9-008EDBE97346",
  "onsuccess",
  "onerror"
]
```
envianceSdk.workflows.getWorkflowCurrentStepBulk
```
[
  [
    "10ec54b9-a8b0-45a6-a9d7-7a0c0c962725",
    "2017.03.23.11.2F39C8EC9325"
  ],
  "onsuccess",
  "onerror"
]
```

## Path parameters

- `workflowIdOrUniqueId` string, required

## Headers

- `EnvApi-Systemid` string
- `EnvApi-Packageid` string
- `EnvApi-Udf-DateTime-Iso-In-CustomFields` string
- `EnvApi-Udf-DateTime-ReadInUserTz` string
- `EnvApi-Udf-Value-Invariant` string
- `EnvApi-Localization-All` string
- `x-client-request-id` string

## Response `default`

not available

- EnvianceRestServicesVer2WorkflowsWorkflowStepInfo
  - `id` string, guid
  - `name` string
  - `comment` string
  - `fields` EnvianceRestServicesUdfsProperty[]
    - `name` string
    - `urlItems` EnvianceBusinessUdfRestUrlItem[]
      - `label` string
      - `url` string
    - `values` string[]
    - `beginDate` string, date-time
    - `endDate` string, date-time
    - `caption` string
    - `captionLocalized` string
  - `transition` EnvianceRestServicesVer2WorkflowsTransition
    - `stepActionName` string
    - `assignTo` EnvianceRestServicesCommonAssigneeV2[]
      - `userIdOrName` string
      - `groupIdOrName` string
    - `dueDate` string, date-time
    - `closeDate` string, date-time
  - `taskCompletion` EnvianceRestServicesVer2TasksTaskOccurrenceInfo[]
    - `statusChangeDate` string, date-time
    - `objectIdOrPath` string
    - `dismissed` boolean
    - `percentComplete` string, byte
    - `hoursToComplete` number, double
    - `costToComplete` number
    - `comment` string
    - `eventInstanceId` string, guid
    - `compliancePeriodStartDate` string, date-time
    - `compliancePeriodEndDate` string, date-time
    - `comply` string
    - `ObjectId` string, guid

---

[API](https://skmtc.dev/enviance/apis/restapi.md) - [All operations](https://skmtc.dev/enviance/apis/restapi/llms.txt) - [OpenAPI document](https://skmtc.dev/enviance/apis/restapi/revisions/45b2200a8cf2?raw)
