I am attempting to batch create jpeg thumbnails for a significant number (over 80K) of pdf content files using CTS script.xml. For the most part, this works just fine EXCEPT that CTS cannot transform files that are over 20,000,000 bytes. It displays an error in the queue:
Content size for 090298108003f52d id: 0602981080049572 432383101 exceeds limit of 20000000 skipping content
So, to try and avoid those documents and not send them to the queue at all, I added a clause in the DQL
and r_full_content_size < 20000000
However, when I add this to the DQL, the script just flat doesn't run. No log is created, no error is thrown. The DQL works fine in the DQL editor. Has anyone else run into this?
This works:
DQL_Query query="select distinct r_object_id from nps_tic_doc a where a_content_type = 'pdf' and not exists (select parent_id from dmr_content where any i_rendition !=0 and full_format = 'jpeg_th' and any parent_id = a.r_object_id) order by r_object_id"
This does not work:
DQL_Query query="select distinct r_object_id from nps_tic_doc a where a_content_type = 'pdf' and r_full_content_size < 20000000 and not exists (select parent_id from dmr_content where any i_rendition !=0 and full_format = 'jpeg_th' and any parent_id = a.r_object_id) order by r_object_id"
Any thoughts?