To change the status of a Route Activity, add the action 'Update route activity status' to your button and select a target status from the list.
Ensure the button is added to the Route Activity so it is available in the context menu on the Route Panel and the Trip mode.
If the selected target status is 'Visited', a route activity will be removed from the route in the Trip mode and marked with a green checkmark in the Route Panel.
'Mark as visited' button
The Mark as visited button is available by default and, when clicked, updates the status of a Route Activity to Visited.