Loading

Create a Field or Report which shows Days since 'Last Activity'

Publiceringsdatum: Oct 13, 2022
Beskrivning
We can follow the below mentioned steps if we need to show a Field on the record or a Report with information with Days since "Last Activity".

 
Lösning
In Classic: 

Standard Objects:
Setup | Build | Customize | <name of object> | Fields | Custom Fields & Relationships

Custom Objects:
Setup | Build | Create | Objects | <name of object> | Custom Fields & Relationships

Lightning:
Gear Icon | Setup | Object Manager | <name of object> | Fields & Relationships
 
  1. Click “New”
  2. Choose “Formula”
  3. Click “Next”
  4. Enter Field label 
  5. Choose “Number”
  6. Click “Next”
  7. Enter “TODAY() - LastActivityDate” inside the formula box
  8. Click “Next”
  9. Click “Next”
  10. Click “Save”

Points to remember:
  • Standard objects have the "Last Activity" field by default when you create a report.
  • Last activity date for custom object will appear only when you have checked "Allow Activities" checkbox.
  • Future activities can result in negative numbers being displayed.
  • When you have Shared Activities for your Contacts, Last Activity will only show for the Primary Contact.
  • Not all objects support "LastActivityDate" check the API Guide to see if your object does.
Knowledge-artikelnummer

000387468

 
Laddar
Salesforce Help | Article