Use Case: We have created a web form Basic where a user will be selecting set of documents that are getting attached to the form using check box . Example 1. Resume. 2 Application Form 3. Proof of Payment 4 Medical Report and so on. Let us assume that the user selects Resume and Application Form . Using behaviour i have created two attachments dialogs saying attach Resume and attach Application Form. Actual goal is to store each attachment as individual documents like First Document type index will be Resume and the Second Document Type index is Application Form Rest of the index would be common to both the documents. Since Docuware currently doesn't stores separate attachments in forms. As a work around i had created a merge form (using blank page) such a way each attachment is link with Each Merge Form. The challenges i am currently facing is that if i have 4 attachments i need to create 4 merge forms so that i can split them as 4 different documents which is still fine. In my use case as explained. If the user has selected only two options instead of all the four options. Once the user submits the form. Four Documents are created since i have used four merge forms. My Question to community . 1. To my best knowledge it is not possible to set in form such a way that submit only merge forms which has attachments., if this is not possible then is it possible to create a work flow to delete the file which does not have attachments without creating API. Secondly Is it possible to delete the first page of the Document stored which is a blank PDF in my case.
Any Suggestion are really appreciated
Regards
Jagan