Screw terminal block
When connecting to screw terminal blocks where use of a jumper for shielding connections is not possible, the pigtail must be as short as possible. This type of connection should be avoided.
The graph below shows the right way to do a screw terminal block connection:

Connector
When using a connector, its design must ensure 360° electrical continuity between the cable shielding and the machine ground.
The graph below shows the right way to build a connector-type connection:
