Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Hi,
I have requirement like below.
I have one main Record Type( MFU TestData), in that I will store some columns,
And I have Second Record Type(MFU TestFiles), In that I will save files. and It is referencing above table.
Can someone please help me to upload multiple files and save them to folder and save the values to database.
Please help me to write expression which stores data to main table and list of files to second table.
I am getting the following error if select the column from reference table
ri!record['recordType!MFU TestData.relationships.mfuTestfiles.fields.fileName']
Discussion posts and replies are publicly visible
You cannot write through to a related record.
I suggest to create a new rule input of type multiple document and make this the target for your file upload field.
In the process model, first write the main record and store the written data back to the process variable. Next, create an expression rule which takes the main record and the list of files. This expression loops on the files and creates a MFU TestFiles record item for each, containing the id of the document and the primary key of the main record.
Call that expression in a script task and save the output to another process variable. Then write that list to the record/database.
Hi can you pls elaborate a bit more on this stmt" This expression loops on the files and creates a MFU TestFiles record item for each, containing the id of the document and the primary key of the main record."
Use a!foreach() to create a record "for each" document.