File Data not updating in database

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Won't Do
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: None

      Hi Team, 

       

      I am using Camunda Embedded form for approval process, as part of process if document not exists then i am allowing user to upload, up to here it is working fine but after selecting the file data not updating in database base or cam variables are not updating, please refer below code snippet,

        Note : if i remove ng-if condition it working as expected.

      <span ng-if="document2Name == null "> 
          <input type="file" 
                 accept="application/vnd.ms-outlook,image/x-png,image/gif,image/jpeg,application/vnd.ms-excel,text/plain, application/pdf ,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" 
                 id="inputFile2" 
                 cam-variable-name="document2" 
                 cam-variable-type="File" 
                 cam-max-filesize="10000000" 
                 onchange="testing()" />
          <script>
              function testing()\ {
                  console.log("Value : " + document.getElementById("inputFile2").value);
              };
          </script>
      </span>
      

            Assignee:
            Tassilo Weidner-Mühl
            Reporter:
            Janibasha
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: