1. Help Center
  2. Function Fields

Function Fields

Function Fields are a great way to customize and automate your workflows and datasets further.

Function Field is an option that you can enable for most field types (e.g. text, date, and numeric). The value of the field is computed by Hailer automatically, rather than edited by you manually. The value is computed based on values in other fields or independently of other fields.

A Function Field can reference any field of a linked activity (read more about linked activities).

 

Function Fields are available for Enterprise licenses. Contact us for more information at info@hailer.com

 

Function Fields save time, reduce human errors, and allow you to reduce the number of tools in your toolbox. You can for example use them to calculate invoice amounts automatically or to build a full-blown time-tracker, right in Hailer.

 

function_fields_1

 

Other uses cases for Functions Fields include:

  • Generating custom titles for activities
  • Calculating taxes for prices
  • Updating quantities in inventory
  • Setting a default deadline for tasks

Enabling Function Fields

Go to workflow settings and the "Fields" tab. Check the "Function Field" box for the desired field. You'll notice that an "Edit Function" button appears below it. 

 

function_fields_field_types_sales_highlights

Configuring Function Fields

Click the "Edit Function" button. You can type in with JavaScript a set of rules for returning a certain value. Click "Save Changes" when you are done. 

 

function_fields_edit_function

 

The values of your Function Fields will now be computed automatically.