In this image you can see how to use the Parameter: Length in the Path node:
Path_03 twigs grow on the parent branch, and their length decreases towards the end of the branch. Accordingly, we can use their length to change the size of some fruits. We want the fruits to shrink when the twig is less than 5.0 cm. We will use the Affect node from Parameter: Length to resize the fruits. We set Max = 5.0 cm in the Affect_02 settings. The curve in the Curve_04 node will generate a dynamic value for the Factor with the input parameter values from 0.0 to 5.0 cm. Accordingly, the Factor will change from 0.0 to 1.0. The result of the Affect_02 node will be passed to the Size parameter of the Std_Leaves_01 node, and it will be calculated as Size = 5.0 cm (the current value of Size) * Factor.