Enabling field history tracking
When you enable field history tracking option for required fields, you can track the change made in that field, such as the user who have made the change, the date and time, and the type of change.
By default, Salesforce allows you to track 20 fields on a form.
- For more information about personal data protection and privacy requirements associated with the General Data Protection Regulation (GDPR), see GDPR-and-the-Remedyforce-application.
To archive field history data beyond 18 months, you can purchase Salesforce Shield or Field Audit Trail. For more information, see Field Audit Trail
The following table lists the recommended fields.
Recommended fields
To enable field history tracking
- Click the Remedyforce Administration tab.
- On the Home page, click Manage Objects tile, and select Create and Edit Objects from the menu.
- From the Object list, select Incident.
- Click Custom Fields and Relationships.
- In the Custom Fields & Relationships section, click Set History Tracking.
- In the Track old and new values section, select the required fields.
- Click Save.
- Repeat step 3 through step 7 for the following objects:
- Task
- Problem
- Change Request
- Release
- Broadcast
Enabling tracking of actions performed on a record
To update the record history when an action is performed, you must configure and activate the following workflow. If you do not configure the workflow, the record is not updated with the modified time and user who modified the record when the actions, such as sending or receiving emails, or adding notes, are performed on a record.
To enable tracking of actions performed on a record
- Click the Remedyforce Administration tab.
- On the Home page, click Manage Workflows and Other Processes tile, and from the menu, select Workflow Rules.
- Click New Rule.
- In the Step 1: Select Object section on the New Workflow Rule page, from the Object list, select Incident History.
- Click Next.
- In the Step 2: ConfigureWorkflow Rule section, perform the following actions:
- In the Edit Rule section, enter a name in the Rule Name field.
- Enter a required description in the Description field.
- In the Evaluation Criteria section, for the Evaluate the rule when a record is field, select created.
- In the Rule Criteria section, from the Run this rule if the following list, select criteria are met and perform the following actions:
- From the Fields list, select Incident History: Incident#.
- From the Operator list, select not equal to.
- In the Value field, enter Null.
- Click Save & Next.
- In the Immediate Workflow Actions section, select New Field Update and perform the following actions:
- Enter a Name and Unique Name.
- From the Field to Update list, select Incident and from the next list select Record Update Count.
- In the Specify New Field Value section, select Use a formula to set the new value and enter BMCServiceDesk__FKIncident__r. BMCServiceDesk __UpdateCount__c + 1 in the text field. For tracking action history of other objects, see Formula for tracking actions performed on a record.
- Click Save.
- Activate this workflow rule.
- Repeat step 3 through step 12 for the following objects:
- Task History
- Problem History
- Change History
- Release History
- Broadcast History
Formula for tracking of actions performed on a record
Depending on the object type of the record for which you want to track action history, enter a formula as mentioned in the following table:
Objects | Use a Formula to set the new value |
---|---|
Incident History | BMCServiceDesk__FKIncident__r. BMCServiceDesk __UpdateCount__c + 1 |
Task History | BMCServiceDesk__FKWO__r.BMCServiceDesk__UpdateCount__c + 1 |
Problem History | BMCServiceDesk__FKProblem__r.BMCServiceDesk__UpdateCount__c + 1 |
Change Request History | BMCServiceDesk__FKChange__r.BMCServiceDesk__UpdateCount__c + 1 |
Release History | BMCServiceDesk__FKRelease__r.BMCServiceDesk__UpdateCount__c + 1 |
Broadcast History | BMCServiceDesk__FKBroadcast__r.BMCServiceDesk__UpdateCount__c + 1 |