About button component submit parameter behavior in an interface

Certified Senior Developer

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.

  Discussion posts and replies are publicly visible