Hi JK2020,
I have tried to reproduce your scenario as per my understanding but it's working for me. could you please share the sample oml file to see exactly how it's been implemented.
I'm also attaching the sample oml file.
Hope this helps you !!
Regard's,
LK