Developers

Articles

gravityflow_rest_api_capability_cancel_workflow

The gravityflow_rest_api_capability_cancel_workflow filter allows customization of the capabilities an authenticated request for cancelling a workflow is checked against.

gravityflow_rest_api_capability_restart_workflow

The gravityflow_rest_api_capability_restart_workflow filter allows customization of the capabilities an authenticated request for restarting a workflow is checked against.

gravityflow_assignee_ajax_search_account_threshold

gravityflow_assignee_ajax_search_account_threshold filter allows customization of the minimum number of users in a site which would trigger the assignee/conditional routing settings to use the ajax search behaviour

gravityflow_assignee_ajax_search

gravityflow_assignee_ajax_search filter allows customization of AJAX-powered search for assignee list in workflow step and conditional routing settings.

Workflow Status Object

KeyTypeDescriptionfinal_statusStringFinal status of the workflow that could be a value of: pending, complete, approved, rejected.

Workflow Step Object

Each step object will have different properties based on a number of factors including:
The Common Step Settings that will apply to every step.

GET Entries Assignees REST API v1

The Get Entries Assignees endpoint retrieves assignee details for a specific entry, with the option to filter by assignee_key.

GET Forms Steps REST API v1

The Get Form Steps endpoint retrieves all steps defined on a form, while the Get Entry Steps endpoint retrieves the steps for a specific entry, including which step is active and its assignee status.

POST Process Incoming Webhook API v1

The Incoming Webhook endpoint processes a POST request with the step’s API key and secret, optionally updating entry fields before continuing the workflow.

Get Steps By Form with Rest API v2

This endpoint allows you to retrieve all steps of the workflow for the specified form. It can be accessed as a GET to /wp-json/gf/v2/forms/[form_id]/workflows/steps