it is all explained in the FBW documentation.
I quote
" These discontinuities should not be cleared from the flight plan in normal operations. Typically, you will notice a discontinuity in the following instances:
- Between the SID and the rest of your route.
- Between the STAR and the selected approach."