I created two custom fields at the files object which are required. How can I add this fields to a flow with the file upload component? I know how can I add fields to the Screen Flow, but the Upload start immediiately if I select a file and i have no Chance to add the field Infos.
There is a attribute on file upload in screen flow called Disabled. If set to $GlobalConstant.True, the component is disabled. This attribute accepts single-value Boolean resources.
You can set the value of it true and false based on the values in required field in screen flow. It will make sure user can only upload file when they have selected the required fields.
or you can put the required fields on different screen than file upload. This will make sure they will only see upload file option when they have entered the required field.