The batch priority can be accessed in KTM using the batch XValue (AC_BATCH_PRIORITY) but I can't seem this is a read/Only field. I have searched KTM wiki but couldn't find any example which shows if this can be done.
Please advise if this is possible, if yes then if you could share an example that'll be great.
The batch priority should be read/write, at least according to the documentation: https://docshield.kofax.com/KTM/en_US/6.3.0-v15o2fs281/help/SCRIPT/ScriptDocumentation/c_BatchData.html?h=priority
Make sure to use the
.Setmethod onXRootFolder.XValues.ItemByName ("AC_BATCH_PRIORITY"). If you attempt to change it by using the.Valueproperty,MustSavemay default toFalse, resulting in the updated value to be lost.