josh_nerius
ServiceNow Employee

Ahh, makes sense. I'd check a few things:



1) Try hard coding a sys_id when looking up the sc_req_item to make sure there aren't issues with the query/iteration logic.


2) Check log files - are there any messages after you attempt the insert?


3) Check the sys_attachment table - does anything show up here after the call to writeBase64()?