Processing Case Attachments with GenAI Connect

We can process case attachments with the help of GenAI Connect. This works as expected:

In this case I pointed it to an Attachment field created via Infinity/App Studio (type is Attachment, single). Behind the scenes, Pega sets up the property as follows:

This works just fine. However, what if I wanted to process case attachments instead - the ones listed in my widget?

I can’t neither select .pyAttachments nor .pyAttachmentPage:

How can I set up my GenAI Connect rule to work with case attachments without creating a dedicated property? Alternatively, how can I “assign” all case properties to an Attachment type field?

In my article ( How to use Pega GenAI Connect to process incoming email and attached document ), it shows a configuration that using an activity rule you can set an attachment property rule to a PDF file attached to a case. And, this attachment property is referenced in the GenAI rule for intelligent document processing. Refer to Step 13 under ‘How to configure’ section. Not sure if this provides an exact answer you are looking for but hope it provides some useful info.