--- title: "get current state of workflow()" slug: "wf-get-state" updated: 2025-12-10T06:29:04Z published: 2025-12-10T06:29:04Z canonical: "docs.lobstersoftware.com/wf-get-state" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # get current state of workflow() **This function is deprecated.** This function returns the name of the state in which the workflow job **a** currently is. If a is not found, the return value is an empty string ('') with set Empty Flag. ## Parameters | Parameter | Description | | --- | --- | | a | Name (see VAR_SYS_WF_DISPLAYNAME) or ID (see VAR_SYS_WF_ID) of the workflow job. |