Normally, you will want to add phase algorithm parameters at the phase class level. However, you can create a parameter for an active state such as the running logic. For the AGITATE running logic you will create a phase algorithm parameter (AGIT_FLAG) that will be used to keep track of whether or not the agitate motor is supposed to be running.