Hi Christophe,
Ok I checked this in 21.1.11 and I got the same issue. Got the email without the PDF attached. I think this is related to an bug in IFS Connect. From Print Manager check the print job status for the PO that was created to send the email through the event.
Check if the print job is in ERROR state with the following error message.
ORA-20105: FndEventAction.EVENT_ACTION_ERROR: The Event Action "E-Mail" on "PDF_REPORT_CREATED" has failed. Please contact your System Administrator to manage the Event Actions. ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275.
If so, then this is a bug and should be fixed by the Server/Connect team. Ask support to create a support issue and dispatch it to he Server/Connect team.
I suggest that you use Report Rules instead of the event actions. Report Rules are more robust and easy to configure and has more features than an event action.
You can trigger to email a report upon a data value in the XML data, or you can run a SQL query and trigger the mail. You can have your custom email body, subject and attachment name etc. Hopefully all the values you pass through the event parameters can be fetched from the XML data or through a SQL query.
Report Rules - Technical Documentation For IFS Cloud
Regards,
Chanaka