Skip to main content

Merge tag {workflow_fields: empty=true}

Workflow fields. A table of the fields the current step shows or lets the assignee edit, like {all_fields} limited to that step. When the entry is not on a step, the tag is left as typed.

Productgravityflow
Requiresgravityflow 2.0.1 or later
Needs an entryYes. Its value comes from a form entry.

Attributes

NameTypeRequiredDefaultDescription
empty=one of the valuesNofalseAlso lists fields with no value.
value=one of the valuesNofalseShows the stored value of choice fields instead of their label.
admin=one of the valuesNofalseLabels each field with its admin label.
editable=one of the valuesNotrueIncludes the fields this step lets the assignee edit.
display=one of the valuesNotrueIncludes the fields this step is set to show.

Values for Include empty fields

ValueDescription
trueYes
falseNo (default)

Values for Show choice values

ValueDescription
trueYes
falseNo (default)

Values for Use admin labels

ValueDescription
trueYes
falseNo (default)

Values for Editable fields

ValueDescription
trueYes (default)
falseNo

Values for Display fields

ValueDescription
trueYes (default)
falseNo

Examples

Output from the real plugin code, run on a test entry.

{workflow_fields}

HTML of {workflow_fields} (22,741 characters)
<table style="width: 99%; border: none; background-color: #EAEAEA;"><tr><td>
                            <table style="width: 100%; border: none; background-color: #FFFFFF;">
                            <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Full Name</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        ada Lovelace
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Notes</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        it&#039;s -- &lt;b&gt;QUICK&lt;/b&gt;, brown Fox jumps over the lazy dog and it wasn&#039;t &lt;b&gt;that&lt;/b&gt; slow &amp; steady.<br />
<br />
Ada Lovelace wrote the first algorithm.
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Event Date Text</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        March 23, 2026
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Tags</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        red, green, blue
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Contact Email</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        <a href='mailto:[email protected]'>[email protected]</a>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Toppings</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        <ul class='bulleted'><li>Pepperoni ($2.50)</li><li>Mushroom ($1.00)</li></ul>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Category</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        Baked Goods
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Amount</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        $1,234.56
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Plain Number</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        9,876.54
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Appointment</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        09:05 am
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Home Address</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        1 Innovation Way<br />Cambridge, MA 02139<br />United States<br/><a href='https://maps.google.com/maps?q=1+Innovation+Way+Cambridge%2C+MA+02139+United+States' target='_blank' class='map-it-link'>Map It</a>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Cell Phone</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        +1 413-555-0147<br />Raw E.164 value: +14135550147 (US)
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Birthday</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        04/27/1979
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Anniversary</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        25/07/1843
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Tracking Token</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        utm_source=fixture
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Internal Notes</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        flagged for review
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Items</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        <table style='width: 100%;background-color: #FFFFFF;border: 1px solid #EAEAEA;padding: 5px;'><tbody><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Item Name</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Widget
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Quantity</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											3
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Size</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Large
										</td>
									</tr></tbody></table><hr style='border:0;border-top:10px solid #EAF2FA;margin:20px 0;'><table style='width: 100%;background-color: #FFFFFF;border: 1px solid #EAEAEA;padding: 5px;'><tbody><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Item Name</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Gadget
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Quantity</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											1
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Size</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Large
										</td>
									</tr></tbody></table>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Contact Method</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        By Phone
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Attachment</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        <ul><li><a href='http://fixture.gravitykit.test/index.php?gf-download=fixture-invoice.pdf&amp;form-id=501&amp;field-id=18&amp;entry-id=5001&amp;hash=de3e75a5bbb8665af11eda764de0e761e3f262eed827616a2f0b4d3fa9038abb' target='_blank' aria-label='Click to view'>fixture-invoice.pdf</a></li></ul>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Photo</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        <a href="http://fixture.gravitykit.test/wp-content/uploads/gravity_forms/501-ce8740343b854b96e037e97f8dfef93f/typewriter.jpg" target="_blank" aria-label="View the image (opens in a new tab)"><img src="http://fixture.gravitykit.test/wp-content/uploads/gravity_forms/501-ce8740343b854b96e037e97f8dfef93f/typewriter.jpg" width="100" alt="A vintage typewriter"></a><div>Alternative Text: A vintage typewriter</div><div>Title: Typewriter</div><div>Caption: An old Underwood No. 5</div><div>Description: Found in the attic, still functional.</div>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Ingredients</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        Flour,2 cups

Ingredients: Sugar,1 cup
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #EAF2FA;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		                                        <strong>Signed By</strong>
		                                    </td>
		                               </tr>
		                               <tr style="background-color: #FFFFFF;">
		                                    <td style="font-family: sans-serif; font-size:12px; padding: 16px">
		                                        ada Lovelace
		                                    </td>
		                               </tr>
		                               <tr style="background-color:#EAF2FA">
	<td style="font-family: sans-serif; font-size:12px; padding: 8px 16px;">
		<strong>Order</strong>
	</td>
</tr>
<tr style="background-color: #FFFFFF">
	<td style="padding: 16px">
		<table cellspacing="0" style="border-left:1px solid #DFDFDF; border-top:1px solid #DFDFDF; width: 97%">
			<thead>
			<tr>
				<th style="background-color:#F4F4F4; border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; font-family: sans-serif; font-size:12px; text-align:left">Product</th>
				<th style="background-color:#F4F4F4; border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; width:50px; font-family: sans-serif; font-size:12px; text-align:center">Qty</th>
				<th style="background-color:#F4F4F4; border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; width:155px; font-family: sans-serif; font-size:12px; text-align:left">Unit Price</th>
				<th style="background-color:#F4F4F4; border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; width:155px; font-family: sans-serif; font-size:12px; text-align:left">Price</th>
			</tr>
			</thead>
			<tbody>
							<tr>
					<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; font-family: sans-serif; font-size:11px;">
						<strong style="color:#BF461E; font-size:12px; margin-bottom:5px">Large Widget</strong>
							<ul style="margin:0">
													</ul>
					</td>
					<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; text-align:center; width:50px; font-family: sans-serif; font-size:11px;">1</td>
					<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; width:155px; font-family: sans-serif; font-size:11px;">$10.00</td>
					<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; width:155px; font-family: sans-serif; font-size:11px;">$10.00</td>
				</tr>
							<tr>
					<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; font-family: sans-serif; font-size:11px;">
						<strong style="color:#BF461E; font-size:12px; margin-bottom:5px">Widget</strong>
							<ul style="margin:0">
													</ul>
					</td>
					<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; text-align:center; width:50px; font-family: sans-serif; font-size:11px;">3</td>
					<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; width:155px; font-family: sans-serif; font-size:11px;">$10.00</td>
					<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; width:155px; font-family: sans-serif; font-size:11px;">$30.00</td>
				</tr>
						</tbody>
			<tfoot>
			<tr>
				<td colspan="2" style="background-color:#F4F4F4; border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; font-size:11px;">&nbsp;</td>
				<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; text-align:right; width:155px; font-family: sans-serif;">
					<strong style="font-size:12px;">Sub Total</strong></td>
				<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; width:155px; font-family: sans-serif;">
					<strong style="font-size:12px;">$40.00</strong>
				</td>
			</tr>
						<tr>
				<td colspan="2" style="background-color:#F4F4F4; border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; font-size:11px;">&nbsp;</td>
				<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; text-align:right; width:155px; font-family: sans-serif;">
					<strong style="font-size:12px;">Total</strong></td>
				<td style="border-bottom:1px solid #DFDFDF; border-right:1px solid #DFDFDF; padding:7px; width:155px; font-family: sans-serif;">
					<strong style="font-size:12px;">$40.00</strong></td>
			</tr>
			</tfoot>
		</table>
	</td>
</tr>
</table>
                        </td>
                   </tr>
               </table>