How can I assign a subprocess to a Transaction or Event Subprocess Element?

How can I assign a subprocess to a Transaction or Event Subprocess Element?

 I am trying to assing a subprocess to a transaction or event subprocess element but my subprocess is not visible in the selection dialog. How can I do that?