Workflow Definitions

The WorkflowClosed A workflow is a series of steps necessary to complete a process. In the context of Keyfactor Command, it refers to the workflow builder, which allows you automate event-driven tasks when a certificate is requested or revoked. Definitions component of the Keyfactor APIClosed A set of functions to allow creation of applications. Keyfactor offers the Keyfactor API, which allows third-party software to integrate with the advanced certificate enrollment and management features of Keyfactor Command. includes methods necessary to programmatically create, edit, retrieve, and test workflow definitions. There are two types of workflow definition:

All enrollment, certificate renewal, and revocation requests go through workflow even if you haven't created any workflow steps or added any custom workflow definitions. In the absence of customization, the global workflow definitions are used. The addition and removal of certificates from certificate collections can be configured to flow through workflow as well, but there are no global workflows for these.

For more information about workflows, see Workflow Definitions in the Keyfactor Command Reference Guide.

Table 635: Workflow Definitions Endpoints

Endpoint Method Description Link
/Steps/{extensionName} GET Returns information about the structure of the workflow definition step with the specified name. GET Workflow Definitions Steps Extension Name
/{definitionId} DELETE Deletes the workflow definition with the specified GUID. DELETE Workflow Definitions Definition ID
/{definitionId} GET Returns details of the workflow definition, including steps, for the workflow with the specified GUID. GET Workflow Definitions Definition ID
/{definitionId} PUT Updates the name and description of the workflow definition with the specified GUID. PUT Workflow Definitions Definition ID
/ GET Returns a list of workflow definitions, without steps. GET Workflow Definitions
/ POST Creates a new workflow definition, without steps. POST Workflow Definitions
/Steps GET Returns information about the structure of the workflow definitions. GET Workflow Definitions Steps
/Types GET Returns a list of the defined workflow definition types. GET Workflow Definitions Types
/{definitionId}/Steps PUT Updates the workflow definition with the specified GUID to add new steps or modify existing steps. PUT Workflow Definitions Definition ID Steps
/{definitionId}/Publish POST Publishes the workflow definition with the specified GUID to activate it for use. POST Workflow Definitions Definition ID Publish