Enable or disable a task based on parameter
Actually this is way simpler than I thought.


Right-click the task and choose Parametrize...
Choose the property to be parametrized. From there you can choose an existing parameter or create a new one. It is easy-peasy.


In this case I created a boolean parameter and gave it the default value of FALSE. Then I bound it to the property Disable of the task. When the task is disabled it skips that task but any connections after the task continues.