Hello everybody, i'm new in this bpm, soa, adf development field.
I've been able to create a couple of bpm applications in jdeveloper with some text fields, dates, etc. in order to complete some processes that i have to develop.
I'm using jdeveloper 12c, oracle bpm suite 12c, Webcenter Content 11g.
The attachments section is a great feature, as a matter of fact, i was able to configure this attachments with oracle Webcenter Content and everybody works just fine.
But now i have a requirement. I need to Attach just few documents, let's say just 5 documents and no more. As the attachment feature by default gives you a list to attach as many you want, i have to change that.
This is my question. How can I complete this goal.
How can I implement in the human task that only 5 documents can be uploaded and no more?
I mean it sounds silly beacuse if you only want to upload 5 files, you just do it and that's it but i need to do it some way or another.

(In the image you can see the UCM is not aviable but it happens that i shut down the UCM server)
I have a couple of ideas but i need your advice and the best way to resolve this,
I think i can add af:inputfile to the jspx to upload the file and in the manage bean send these files to the WebCenter Content via RIDC. But i don't know how to get this files to be attached in the worklist of the next task.
Another idea is to modified the component of the Attachments but i think it's kinda of complex and i have not found information how to perform this.
Hope someone can share info or advice.Thanks in advance. Greetings.
Dan Callejas.