I'm having some trouble writing a task which operates on a transition in a work flow. I have implemented the correct task flags in order to allow the code to run during a transition, but it still fails to show in the execute task option under actions in a transition. I have novice level knowledge of C#, so I suspect I may have written code which just won't work. Attached is a picture of my code's command structure.
Thanks for your time