Workflows Assigned to Me Operations

Only workflowClosed A workflow is a series of steps necessary to complete a process. In Keyfactor Command, it refers to the workflow builder, which allows you to automate event-driven tasks such as when a certificate is requested, revoked or found in a certificate store. instances that are in a Suspended state and that the current user has permissions to submit signals for (e.g. approve or deny) appear on the Assigned to Me tab of the My Workflows page. Once the user submits a signal to a workflow instance on this page, it is removed from the page.

Note:  If a workflow instance is initiated for a workflow definition that has more than one step requiring input (signals), a user can only provide that input (e.g. approve or deny a require approval request) at the step in the workflow instance where the workflow instance was suspended pending input. The user cannot jump ahead and provide input for future steps in the workflow that have not yet occurred.
Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:

/workflows/instances/read/mine/
Or: /workflows/instances/read/

To review a workflow instance and potentially submit a signal for it:

  1. In the Management Portal, browse to Workflow > My Workflows.
  2. On the Assigned to Me tab of the My Workflows page, double-click or click Review from either the top or right click menu.
  3. On the Workflow Signal Review page, review the information in the instance before submitting a signal for the request. Information on the review page includes:

    Name Description
    Id

    A GUID indicating the Keyfactor Command reference ID for the instance.

    Title

    A description for the action taking place in the step. For example:

    "KEYEXAMPLE\jsmith is enrolling for a certificate with CN=appsrvr12.keyexample.com."

    Or:

    "KEYEXAMPLE\mjones is revoking certificate with CN=appsrvr14.keyexample.com."
    Status

    The current status message of the workflow instance.

    For a workflow suspended and awaiting approval, the status message might be:

    Current Step

    The display name defined for the workflow instance step at which the instance has paused. For a suspended workflow, this will be the custom step that is awaiting user input to continue the workflow.

    Figure 243: Workflow Instance Review

    The data included in this section will vary depending on the request type and the configuration of the workflow.

    Signal Input

    In the Signal Input section of the page, you can submit one or more signals for the step. For the built-in require approval workflow step type, this is where you send an approval or denial for the request along with a comment about the approval or denial.

    Figure 244: Approve or Deny a Workflow Instance

    A custom workflow step requiring signal input may have more than one signal type to select from in the dropdown, may have input fields to submit data with the signal, and will likely have buttons with labels other than Deny or Approve.

  4. At the bottom of the Workflow Signal Review page in the Signal Input section, select an option in the Signal Type dropdown, enter any required signal data, and click an appropriate signal button to submit the signal. For the built-in require approval workflow step type, select ApprovalStatus in the dropdown (there is only one choice), enter an optional Comment (the maximum comment length is 500 characters), and click either Approve to add your approval to the workflow or Deny to deny the workflow instance.

    Tip:  If you reference the approve/deny comments using the $(approvalsignalcmnts) token, the included comments will vary depending on where you use the token. If you use the token in an email message within a require approval step, only comments from that require approval step will be included. If you use the token in a separate email step within the same workflow, all comments from any require approval steps within the workflow will be included.
    Important:  Comments entered when approving or denying a built-in require approval workflow step can be included in emails delivered either as part of the require approval step or in subsequent steps within the workflow, but they are not retained for future reference. If you would like to retain them for future reference, use a workflow step that copies the comment(s) to a metadataClosed Metadata provides information about a piece of data. It is used to summarize basic information about data, which can make working with the data easier. In Keyfactor Command, the certificate metadata feature allows you to create custom metadata fields that allow you to tag certificates with tracking information about certificates. field (see Use Custom PowerShell).
  5. On the Confirm Operation alert, click OK to confirm or Cancel to cancel the operation.
Note:  The workflow definition may require more than one approval to be completed and so may not be immediately completed when you click Approve. However, a single denial is enough to reject the workflow instance.

An audit log entry is created when you provide input to a workflow instance (see Audit Log).