Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. 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.
I am facing problem in developing project.
I made relation in two table in appian cloud database. But when i insert data foreign key id is not inserted in second table. see the below screenshot
when document data inserted , request_id (2nd column) will be null.
Discussion posts and replies are publicly visible
Appian will not automatically insert your id in that second table.
if( rule!APN_isBlank( pv!documentDetails ), null, a!forEach ( items: pv!documentDetails, expression: rule!CRP_constructNonDevDocumentDetails( docId: fv!item.docId, docType: fv!item.docType, requestId: pv!NondevProjectDetails.id, documentId: fv!item.documentId, isactive: fv!item.isactive, uploadedBy: fv!item.uploadedBy, uploadedOn : fv!item.uploadedOn ) ))
I map data of documentdetails as per above in process model and then after i store it in document table using store multiple entity. Above requestId is foreign key and i used main table id to assign to that.
OK, did you check the data in the process? Appian will write that value only if assigned and not-null.
I will suggest if you are using the subprocess for writing the data make sure you are taking back the output and if not you are using the WSE then again make sure you are taking the data as output.
I am taking data as output like above .