Main difference between ‘write to entity’ and ‘write to records'

Certified Senior Developer

Hi all, I am new to the Appian.

I am created an interface with record type, add option and a process model to save the data in database.

Created process model with the options ‘write to entity’ and ‘write to records. Below is my understanding.

  1. Enable activity chaining is refreshing record type data in both the options.
  2. Rule input for interface can be created by using CDT. This will work only for ‘write to entity’.
  3. ‘Write to entity’ and ‘Write to record’ both are same. ‘Write to record’ is the latest one and ‘Write to entity’ is the legacy approach.

 Please confirm is there any other main difference.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer
    1. Enable Activity Chaining: This option refreshes record data after an activity chain completes, and it works for both "write to entity" and "write to records."

    2. Rule Input for Interface using CDT: You can use Custom Data Types (CDTs) to define input parameters for your interface. This applies to both "write to entity" and "write to records."

    3. "Write to Entity" vs. "Write to Records":

      • "Write to Entity" is for saving data directly to a record entity.
      • "Write to Records" is another method for saving data and is considered the newer approach. Both have their use cases, and the choice depends on your specific needs. "Write to Records" is not necessarily a replacement for "Write to Entity" but offers different functionality and flexibility.
Reply
  • 0
    Certified Senior Developer
    1. Enable Activity Chaining: This option refreshes record data after an activity chain completes, and it works for both "write to entity" and "write to records."

    2. Rule Input for Interface using CDT: You can use Custom Data Types (CDTs) to define input parameters for your interface. This applies to both "write to entity" and "write to records."

    3. "Write to Entity" vs. "Write to Records":

      • "Write to Entity" is for saving data directly to a record entity.
      • "Write to Records" is another method for saving data and is considered the newer approach. Both have their use cases, and the choice depends on your specific needs. "Write to Records" is not necessarily a replacement for "Write to Entity" but offers different functionality and flexibility.
Children
No Data