Skip to content

Commit

Permalink
changes to lookupone-rl
Browse files Browse the repository at this point in the history
  • Loading branch information
mnickolas113 committed May 6, 2024
1 parent 9e21cec commit 3bc211d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions help/en/docs/references-lookups.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ Now, let’s say we added a date column as the event has stretched over the cour
```
Sponsors.lookupOne(Contact_Name=$id, sort_by="Date")
```

Specifically, `sort_by` causes multiple results to be sorted by Date, in ascending order, and since `lookupOne` returns the first of the matches, it becomes the earliest date.

Additionally, we can use the (-) symbol and reverse the order, finding the latest interaction:
Expand Down

0 comments on commit 3bc211d

Please sign in to comment.