BrightLeaf Digital Code Snippet Library

Check out our growing library of code snippets for Gravity Forms!

Update Workflow Label Field Value in Entry as Workflow Runs

Goal

Keeps a designated field (label default: "Workflow Step Field") up to date with the workflow status:

  • On step start: current step name
  • On workflow complete: complete step name
  • On workflow cancel: "Cancelled"

Configuration

  • Edit the config block below. Installed through GOCSM, these values are fields and survive snippet updates.
  • $status_field_label: If you use a different field label, change to your field label.
Install Using Code Snippets

This code is best installed directly on your site using the Code Snippets plugin.

Check Out the Code

Loading...

Code Copied!
Stay Updated On This Snippet

This entry has no reviews.