Kyloe Partners | User guides
Nav irem #1
Kyloe Partners | User guides
  • Welcome to Kyloe User Guides
  • Kyloe DataTools
    • Overview
    • Accessing Kyloe DataTools
    • User management
    • DataCleaner
      • Entity selection, search filters and preview
      • Other Search options
      • Date filters
      • Notes filters
      • Search completion options
      • Search running options
      • Report results
      • Things to remember
    • DupliKit
      • DupliKit Dashboard
      • Database sync
      • Reviewing duplicates
      • Master/duplicate selection
      • DupliKit settings
        • DupliKit weighting system
        • DupliKit options
        • Scheduling merges
        • Master identification
      • DupliKit merge history
    • DataRules
      • DataRules dashboard
      • Building a rule: search criteria
      • Building a rule: apply actions
      • Running a rule
      • Schedule a rule to run automatically
      • Rules history
      • Reverting a rule
    • Data management playbook
      • Legacy (Clean up old data)
        • Pinpoint and manage outdated job records
      • Sweeper (Ongoing data quality)
        • Deliver a more personal experience
        • Ensure calls and texts go through smoothly
        • Discover unsearchable candidates in Bullhorn
        • Overcome Bullhorn's default 50% commission split
        • Find and merge duplicate records in Bullhorn
        • Complete and clean up address fields in Bullhorn
        • Manage visibility of files in Bullhorn
      • Gather (Enrich your data)
        • Keep candidate statuses up to date
        • Automatically keep job statuses up to date
        • Keep candidate ‘date available’ up to date
        • Update candidate data to improve your search results
        • Automate assignment credential requirements
        • Automatically assign job priority
        • Copy key info from parent to child companies
        • Auto-assign candidates to recruiters
        • Copy data between entities
        • Auto populate job requirements
  • Kyloe AI Assist
    • Getting started
      • How does Kyloe AI Assist work?
      • Working with AI prompts
      • Understanding Large Language Models (LLMs)
      • Adding the Kyloe AI Assist card to Bullhorn
    • Running Kyloe AI Assist prompts from Bullhorn
      • Choose a prompt
      • Prompt options
      • Result (generated content)
      • Using Bullhorn file attachments
      • Using Bullhorn notes
    • Different Large Language Models (LLMs) for different results
    • Kyloe AI Assist playbook
      • Prompts for Job entity records
      • Prompts for Job Submission records
      • Prompts for Candidate records
      • Prompts for Contact or Company records
      • Kyloe AI Assist & Kyloe DataTools integration
      • Kyloe AI Assist & Kyloe AwesomeDocs integration
  • Kyloe AwesomeDocs
    • Kyloe AwesomeDocs
      • Kyloe AwesomeDocs user guide
        • Accessing Kyloe AwesomeDocs in Bullhorn
        • Create a New document
        • Editing your document with Microsoft Word
        • Editing an existing document
        • Docusign integration
        • Docusign authentication
      • Kyloe AwesomeDocs admin guide
        • Accessing the Kyloe AwesomeDocs template builder
        • The Kyloe AwesomeDocs Template builder
        • Add a new template
        • The template editor
          • Add an HTML section to a template
          • Add file attachment (Formatter type templates)
        • Template configuration
          • Input Template
          • Output Document
          • Attachment Settings (Formatter templates with File attachment section enabled)
          • Recipients (Docusign enabled)
          • Form Fields (Form Fields enabled)
          • Publish (Publish enabled)
          • Docusign (Docusign enabled)
        • Using a Microsoft Word document
          • Mixing Microsoft Word and HTML
          • Add a Merge field in Word
          • Edit a Merge field in Word (Windows only)
          • Highlighting Merge fields in Word
        • Kyloe AwesomeDocs syntax
          • Identifying a Bullhorn field
          • Null-checking
          • Address fields
          • Extra field formatting
          • Docusign placeholders
        • Kyloe Publish
          • Add a new Kyloe Publish Template
          • The Config tabs to consider for Kyloe Publish templates
          • Publish syntax
    • DocMerge
      • DocMerge user guide
        • Accessing Kyloe DocMerge in Bullhorn
        • Candidate document generation
        • DocMerge template parts
        • Staple the DocMerge document
        • Docusign in DocMerge
      • DocMerge admin guide
        • Accessing the DocMerge builder
        • DocMerge new template creation
        • Company filter
        • Docusign details
        • DocMerge template parts
    • Publish
      • Accessing Publish within Bullhorn
      • Create a new Publish document
      • View Published documents
      • Edit a Published document
      • Send Published document and see activity
      • Publish mass mail
  • Kyloe Workflow
    • Kyloe Workflow user guide
      • Update submission
      • Send CV/resume
      • Schedule interview
      • Create placement
      • Notification
    • Kyloe Workflow admin guide
      • Create new configuration (config)
      • Update submission
      • CV send
      • Interview
      • Placement
      • Notification
      • Appointment
      • Creating your email templates
        • Create template
        • Edit template
        • Template HTML
      • Syntax
        • Identifying a Bullhorn field
        • Address fields
        • Kyloe Workflow specific syntax
        • Null-checking
        • Field formatting
  • Kyloe AwesomeDocs (new version)
    • Getting started
      • Accessing Kyloe AwesomeDocs in Bullhorn
      • Screen layout
    • Edit and merging files
      • Editing a file
      • Merge basket
    • Creating a Kyloe AwesomeDoc document
      • Selecting a template
      • Record selection
      • Document generation
      • DocuSign integration
        • DocuSign recipients
        • DocuSign email
  • Help
    • Submit an idea
    • Live product status
    • Request support
    • Kyloe release notes
Powered by GitBook
On this page

Was this helpful?

  1. Kyloe Workflow
  2. Kyloe Workflow admin guide
  3. Syntax

Field formatting

For most fields you will most likely display exactly what is stored in Bullhorn. Dates and numbers may require additional formatting.

Dates

A date is stored in Bullhorn as a UTC datetime. This is usually unacceptable to use:

Sun Aug 01 04:00:00 UTC 2021

To make a date more acceptable we use the formatDate() function. Using the example of the Job Order start date:

${jobOrder.startDate.formatDate("d MMMM yyyy")}

This will format the date as follows:

1 August 2021

There are many possible date formats but a few are provided here:

Format
Result

formatDate("dd/MM/yyyy")

01/08/2021

formatDate("d/M/yyyy")

1/8/2021

formatDate("d MMM yyyy")

1 Aug 2021

formatDate("M-d-yyyy")

8-1-2021

As before, we need to make sure we do not attempt to format a null date. We can protect against this with the full syntax:

${jobOrder.startDate?jobOrder.startDate.formatDate("d MMMM yyyy"):""}

This will check that there is a Job Order startDate value before attempting the formatting.

Numbers

Whole numbers will not require special formatting, but floating-point numbers (including currency values) will need special attention. In order to fix the number of decimal places you can use the sprintf() function. This if of the format:

${sprintf('%,.2f', jobOrder.payRate)}

The .2f portion sets the number of decimal places to display. The % character is mandatory but the , is optional. Adding it will place this character as a thousands separator. A few examples will help:

Format
Result

sprintf('%,.2f', 123456.3456)

123,456.35

sprintf('%,.0f', 123456.3456)

123,456

sprintf('%.1f', 123456.3456)

123456.3

Again, protecting against null values is important. A correct use of sprintf() would be as follows:

${jobOrder.payRate?sprintf('%,.2f', jobOrder.payRate):""}// Some code
PreviousNull-checkingNextGetting started

Last updated 4 months ago

Was this helpful?

Formatting syntax can become complicated. If you have attempted to format a value unsuccessfully don't hesitate to contact for assistance.

Kyloe Support