Skip to main content
April 7, 2025
Question

Insert Record

  • April 7, 2025
  • 8 replies
  • 0 views

I'm currently exploring all the possible ways to insert record in a record type (for e.g. StudentDetails is my Record Type) but I have String fields as process variables.

one way I know is (i) Gave Input Variable of StudentDetails type and in Script task Output  mapped the values from process variables  and used write records.

    8 replies

    stefanhelzle0001
    April 7, 2025

    You can also just construct the record inside the write records node like this:

    'recordType!AAD Attendee'(
      'recordType!AAD Attendee.fields.title': pv!stringTitle,
      .
      .
      .
    )

    venkatrea696188
    April 7, 2025

    Can we know why you having multiple process variables(String) instead of single variable of Student..... in the first place?? Having multiple variables consume memory so you need challenge this in the first place.

    April 7, 2025

    Well.. I'm exploring and want to stretch more on type casting so this is not a project requirement but just exploring the capabilities  dos and don'ts of the product.

    stefanhelzle0001
    April 7, 2025

    appian.rocks/.../

    And check this out: