Hi everyone!
I am trying to configure a new screenflow to have it's Uploaded File's name mapped into a text field. I tried creating a Variable (Text-Collection) and added an Update Records element after the screen in an attempt to map it, but I can't get it right.
What am I doing wrong here?
#Flow #Screen Flow #Flows
Good progress Mario! Two things:
Field type: a Long Text Area stores the file name fine, you do not have to change it. A plain Text field (255) is simpler and displays more cleanly inline, but the type is NOT why the update fails, so leave it if you prefer.
The real issue is your filter. Your screenshot shows Record ID Equals NewCaseID. If Record ID is a custom text field, that only matches a row that literally has that value stored, which is almost certainly why 0 rows update. Use the standard Id field instead: filter Id Equals the MarketPlace Inquiry you created earlier in this flow (reference that create element's record Id). The record's real Id is unique and always matches the one you just made.
Two quick confirmations:
1. Debug the flow and read the Update Records result. If it says 0 records updated, that filter is the cause.
2. Make sure the File Name field is actually on the page layout or Dynamic Form of the record you open. A newly created field is often not on the layout, so even a successful update looks like nothing happened.
if this helps, please mark it as the Best Answer so it helps the next person, thanks 🙂