Dear friend!
When you need to create autoadaptor WDM trails, I think you need to create an ODUk trail in the WDM and then enable service auto-sensing on the corresponding WDM interface.
When this parameter is set to Enabled, the services of the board are automatically configured according to the type of the inserted client-side module and the accessed service signals.
The service cascading mode is variable, but the channel bandwidth is fixed.
Thank you!