GameplayTasks simply register with the GameplayTasksComponent situated inside an Actor class derivative of your choice. You can activate any number of GameplayTasks at any time during gameplay to trigger their effects.
GameplayTasks can also kick off GameplayEffects to change attributes of AbilitySystemsComponents if you wish.