Skip to main content
May 21, 2024
Question

About button component submit parameter behavior in an interface

  • May 21, 2024
  • 7 replies
  • 0 views

Hey,

I have an interface with multiple interfaces shown up using showwhen conditions.when i click on submit button on the screen then only the process should be started, in the same interface I have file upload component with another submit button , when I click on that submit button the file should be uploaded to the target folder and a process need to be triggered , in the same process i'm using uploaded files ID so i kept submit true.

Here I'm facing the issue, when i click on the uploading file submit, the screen is submitting directly and trigerring other process model.Just because submit true is also applied for second submit button.

The entire interface is a start form for one process model and there is  another process model triggered using startprocess smart service in uploadfile submit button.

Thanks in advance.

    7 replies

    stefanhelzle0001
    Brainy
    May 21, 2024

    Is this the same situation like here?

     [mention:e874ef182f97436b874f3ca74583e2c7:46448885d0e64133bbfbf0cd7b0fd6f7] 

    May 21, 2024

    I have also disabled main form submit button, but still facing same issue

    sarathkumr268295
    May 22, 2024

    You can save the files into system on click on the final submit button right. Any reason to have 2 submit buttons?

    May 22, 2024

    Yes, I have used the file in other process before  process starting, i need the file to saved to the target otherwise will get invalid content Id error in current process, because the file is needed for the process to be move forward.

    sarathkumr268295
    May 22, 2024

    Cant that be done in a sequential manner like saving documents to target and then do the process whatever you have to do. Im not sure why a process needs to be run separately. Anyways Im not aware of the use case