Activities provide a layer of abstraction to workflow input variables. The abstraction helps you to efficiently execute any administration scenario (such as tenant onboarding or application deployment) by separating the specification of a workflow from its actual implementation. Using activities, you can do the following:
Define the input properties for a workflow and associate those properties with one or more workflows. Then, depending upon a matching condition, the activity triggers the correct workflow.
Use an activity as a workflow task, making the task usable in multiple similar but differently implemented use case scenarios.
An activity can be either triggered programmatically or by providing inputs dynamically.