2 Replies Latest reply on Oct 16, 2013 8:20 AM by tholakari

    Form Modeler or FTL - File Upload

    tholakari

      Hi there,

       

      I would like to have a business process with a human task where the assigned user can upload a file to a shared location. Once the user uploads a file the task should be completed.

       

      1. Could you please suggest me how can I use Form Modeler to achieve this. I did not find any such UI element in the palette.

      2. In FTL, What does the action "complete" (<form action="complete" method="POST" enctype="multipart/form-data">) actually do? Does it simply complete the task by mapping the task parameters or can we customize this to have some intermediary actions like File Upload, DB operations and then finally complete the task?

       

      If this is not directly supported in jbpm, are there any alternative approach for this? Please suggest.

       

      Thanks,

      Ravi

        • 1. Re: Form Modeler or FTL - File Upload
          salaboy21

          This is actually in the project roadmap. Supporting task attachments is already supported in the engine, but not in the tooling. My guess will be that this will be tackled for 6.1.

          There are some alternatives, like for example creating another screen to upload files and then linking them using a task variable.

          If you are interested in helping us out to get this done, we can talk offline and coordinate the work.

           

          HTH

          • 2. Re: Form Modeler or FTL - File Upload
            tholakari

            Hi Salaboy,

            Please provide more details about this (creating another screen to upload files and then linking them using a task variable.) so that I can give a try.