Get Items by Query not working

Hi,
I have written simple workflow (attached) which is meant to get list of documents based on expiry date using Get Items by Query following instructions https://plumsail.com/blog/2015/02/send-periodic-expiration-email-notifications/. The CAML Query i used get the records. BUT i cannot loop through them. The Variable: CountItems is also 0.
If i use
Count Items in Variable: dictionary (Output to Variable: count1 ) as alernate to CountItems
then it shows count1 has value, it enters the loop but then throws the following error. Please help.

Hello,

Please send us the screenshot of the workflow at support@plumsail.com

Was this ever resolved?

Rmickler,

Sure, the issue was in “Get an Item from a Dictionary” workflow action.