Recording Archetype Petrucci Wah/Volume via external midi pedal in Logic?

To use the Volume and/or Wah function of Archetype Petrucci, I’m using a Boss EV-1-WL midi pedal. I’m trying to figure out how I can record the Volume and/or Wah performance in Logic. So far I’ve been unable to capture the performance in Logic. Does anyone know how to resolve this?

Case closed. Was able to figure it out.