F5 GTM batch mode failed, individual command succeded: strange

Encountered a strange error with GTM 10.2.0

When I tried to associate a server with a monitor in transaction mode, GTM gave an unusual error about the monitor not being found. Infact the monitor is existing and when I tried to execute the same statement as individual command, it worked.

Here is what I tried to commit:

4: (tmos.gtm) modify server A.B.C.D virtual-servers add { A.B.C.D:443 { name A.B.C.D_443 monitor xyz_https } }

Here is the error:

[batch mode]device_name(Active)(tmos) submit cli transaction transaction failed: 01070029:3: The monitor rule xyz_https was not found.

I was able to list the monitor when I ran the below: tmsh list /gtm monitor https xyz_https

hi sudheer,

Is it V11 GTM. If so , we need to mention monitor type after monitor.

ex:modify server A.B.C.D virtual-servers add { A.B.C.D:443 { name A.B.C.D_443 monitor https xyz_https } }

thank you Raj. Its v11.

But, when i ran the same command the old way; without creating transaction, it worked. Is that how it works.