Create Rules with Custom Fields in the TruckIT Portal
Learn how to create a customization rule that adds a custom field when a ticket or other object is created.
Use this article to create a customization rule with custom fields in the TruckIT Web Portal.
Rules are triggers that define custom behavior in response to certain events. For example, you can create a rule that triggers when a new ticket is created and adds a custom field to the ticket submission form.
Important: Customization is a special paid feature and must be enabled before you can use it.
Before you begin
Make sure you are logged in to the TruckIT Web Portal.
You may need admin access or permission to manage customization settings. If you do not see Customization, Create New Rule, or custom field settings, contact your company administrator or TruckIT Support.
Before creating a rule, confirm:
- The custom field you want to use
- The object the rule should apply to
- The event that should trigger the rule
- Whether the rule should apply to every record or only specific related records
- Which user types should be able to view or edit the field
Create a rule
1. Log in to the TruckIT Web Portal.2. Click the gear icon.
3. Select Customization.


6. Select the Rule Object, which is the type of record the rule applies to, such as Ticket.
7. Under Condition, select the Related Object Type, such as Site.
8. Under Details, select the Trigger Event, which is when the rule runs, such as Create.
9. Select the Action. This determines what the rule does after the trigger event happens. Example: Set Custom Field.
10. Click Save.

The rule now appears in the list on the left. Until you add a field, it shows the message Rule is empty. Please add data.
Filter the rule with tags (optional)
Under Condition, use the Tags dropdown to limit the rule to records with specific tags. For example, you could apply it only to tickets for sites with a certain tag.
Add a custom field to the rule
1. Under Custom Fields, click Add Field.
3. Click Save.

Set permissions
Each field you add has a permission setting for each role: Driver, Contractor, and Inspector. Choose one level per role:
- Prohibited: Can't see the field. This is the default.
- View Only: Can see the value, but can't change it.
- Edit: Can see and change the value.
For example, if drivers should fill in the field when they submit a ticket, set Driver to Edit.

To add more fields, click Add Field again. To remove a field, click the trash icon next to it.
Use permissions carefully. For example, if drivers should be able to edit the field during ticket submission, make sure the driver permission allows that workflow.
Example rule: add a driver-editable field to tickets
Use this example when you want a custom field to appear when a ticket is created.
Example setup:
| Rule setting | Example value |
|---|---|
| Rule name | Add Driver-Editable Ticket Field |
| Rule object | Ticket |
| Related object type | Leave broad unless filtering by site |
| Trigger event | Ticket created |
| Action | Set Custom Field |
| Field | Select the custom field your team wants to add |
| Permissions | Allow drivers to edit, if needed |
This rule can help your team collect extra ticket information directly from the driver workflow.
When to use rules with custom fields
Use rules with custom fields when your company needs custom behavior based on an event in TruckIT.
Common examples include:
- Adding a custom field when a ticket is created
- Collecting additional driver-entered ticket details
- Creating fields only for certain object types
- Applying custom fields based on site-related rules
- Standardizing extra information your team needs on tickets
- Supporting advanced workflows that are not covered by standard fields
Because this is an advanced feature, only create rules when there is a clear operational need.
Best practices for rules and custom fields
Keep rules clear, simple, and easy to maintain.
Recommended best practices:
- Use descriptive rule names.
- Create one rule for one clear purpose.
- Confirm the correct rule object before saving.
- Use related object filtering only when needed.
- Choose the correct trigger event.
- Review the action before saving the rule.
- Add only the custom fields users actually need.
- Set permissions carefully by user type.
- Test the rule before relying on it in live workflows.
- Document what each rule does so future admins understand it.
Troubleshooting
I do not see Customization
Customization is a paid advanced feature and must be enabled before use. Contact your TruckIT administrator or TruckIT Support.
I do not see Create New Rule
Your account may not have permission to create customization rules. Contact your company administrator.
I selected the wrong rule object
Review the rule before using it. If the rule has not been used yet, edit it if your permissions allow. If it is already active, confirm the impact before changing it.
The field I need is not listed
The custom field may need to be created first. Review your custom field settings or contact a Company Admin.
The rule is applying too broadly
Review the Related Object Type and any related filtering. Related objects can help limit rules to specific sites or conditions.
Drivers cannot edit the field
Review the user permissions for the field and confirm the driver permission allows editing.
Frequently asked questions
What is a rule in TruckIT?
A rule is a trigger that defines custom behavior in response to a specific event.
Is Customization available to every TruckIT customer?
No. Customization is a special paid feature that must be enabled before it can be used.
Where do I create a rule?
Click the Settings icon, open Customization, and click Create New Rule.
What does Rule Object mean?
The Rule Object is the type of record the rule applies to, such as tickets or sites.
What does Related Object Type do?
The related object helps filter rules to specific records. For example, a rule could be filtered to tickets that match a specific site tag.
What action should I choose to add a custom field?
Choose Set Custom Field. This was previously called Set Custom Variable.
How do I control who can use the field?
Use the permission dropdowns under each user type and assign the correct permission level.