Skip to main content
New Participant
Jan 24, 2025 5:21 PM UTC
Question

Write Multiple Records in One Write Records Node

Hi all,

May I please ask for some guidance here?

I've got three record types:

  • Consultant (a person, e.g. an Appian developer)
  • Consultant Certification (certifications the consultant has, e.g. Appian Associate Developer)
  • Consultant Audit History (audit log of changes to various parts of the consultant profile and related record types, e.g. updated a certification's expiration date)

docs.appian advised against using Record Events to track changes to an individual record field (e.g. certification expiration date), so I created the Consultant Audit History record type. When the certification expiration date field gets updated, I want to add a row to both the Consultant Certification table and the Consultant Audit History table. 

To ensure data accuracy, I want to write both records at the same. That way if the Consultant Certification write failed, there wouldn't be an entry in the Consultant Audit History and vice-versa.

Is it possible to do this in a single Write Records smart service? And if so, how? I see the Setup tab can accept multiple records input but the Record Type field can only accept one.

Thank you so much!

    3 replies

    mathieud0001
    Genius
    Jan 24, 2025 5:46 PM UTC

    Yes it is possible if you have relationships setup, you can write related Records in one go.

    docs.appian.com/.../Write_Records_Smart_Service.html

    Known Participant
    Sep 30, 2025 5:57 PM UTC

    Hi! I'm trying to implement this but I'm having an issue that when I pass my rule input in the PM the related data shows as null, but in my interface when I "submit" for testing purposes I do see the related data under the main rule input.


    sarathkumr268295
    Known Participant
    Oct 1, 2025 6:10 AM UTC

    Please check the history in the process to check if the value of the related data is getting changed