Companion – Adding a Trigger to a Property

This document will show you how to add a trigger to a property within a Companion job. This can be especially useful when you have a property that is only relevant for a particular group, category, or vehicle (ie. Electric vehicles, campervans etc.)

During this document, I am going to demonstrate how to hide/show a property dependant on a trigger – we are going to use an Electric Cable property as an example. I only need this to appear for my Electric Car group (ELEC).

 

1. First you will need to navigate to the below:
    1. Tools > Setup > Display POL Setup

Picture1-Apr-03-2023-12-49-33-3494-PM

2. From here you will need to select the ‘Mobile Jobs’ and then ‘Job Types’ on the left-hand menu.

Picture2-Apr-03-2023-12-49-54-2354-PM

3. You will then need to select ‘pencil’ next to the job that the property is present on. For this example I am going to use the Checkout and RA job type.

    1. If the property is on multiple jobs, you will need to repeat this process on a per-job-basis.
    2. If you need to know how to create a property, please follow the below Knowledge Base article.
      1. Insert KB Article Here

 

4. Once you have entered the job builder, find the page your property is on and then click on the ‘pencil’ icon to edit the page.

 

Picture3-Apr-03-2023-12-50-24-5838-PM

5. Then select the three dots (…) next to the property that you would like to apply the trigger against and click ‘Edit Property’.

Picture4-Apr-03-2023-12-51-12-9643-PM

6. The ‘Edit Property’ dialog should appear. You can then navigate to the ‘Triggers’ tab. This is where we will configure the property to appear based on our criteria.

 

Picture5-Apr-03-2023-12-51-27-0342-PM

7. You can use the drop down to select one of the trigger options. There are a wide range of options here.
    1. Trigger Always.
    2. Apply within a Vehicle Category.
    3. Apply within a Vehicle Group.
    4. Apply within a Model Type.
    5. Apply within a Specific Model.
    6. Apply to Individual Vehicles.
    7. Apply within a phase of a job.

Picture6-Apr-03-2023-12-51-49-1313-PM

8. For our example, I am going to select ‘Apply within a Vehicle Group’, input the ‘ELEC’ group and press ‘Save’.

 

Picture7-Apr-03-2023-12-52-15-2311-PM

9. The property will appear as per the below, which visualises that it will only appear when the job is created against a group ELEC vehicle.

Picture8-Apr-03-2023-12-52-42-5785-PM

If there are multiple jobs that this property is present on, and the same trigger is required, then you will need to repeat the steps above for each individual job type.