This sample demonstrates how to programmatically work with business process flows such as retrieving the business process flow instances for an entity record, switching to another business process flow instance, and retrieving active path and stages.