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
You can save the files into system on click on the final submit button right. Any reason to have 2 submit buttons?
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.
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
i have two separate process models, in one i need file to run the flow. In the second process model to start i need the data that i got from first flow. first model is also triggered by external users, that is the reason i put it as separate.
You can make them as synchronous subprocess and do the processing right??