Skip to main content
ashishp9926
December 27, 2023
Solved

Write Records output removes other data except record ID

  • December 27, 2023
  • 3 replies
  • 0 views

My process has Start form setting 3 fields, Script task adding few more fields. but after the data is written to DB, Properties is limited to id only, other data is removed from Process variables.

No error in process model and data is written to DB as well.

Anything missed from my side ?

    Best answer by venkatrea696188

    Check Out this . After Update it got changed . Just query back the data in a script task.

    3 replies

    venkatrea696188
    December 27, 2023

    Check Out this . After Update it got changed . Just query back the data in a script task.

    ashishp9926
    December 27, 2023

    Thanks !! It worked after I added another script task to query the record back.

    Hope Appian updates the training material soon with this latest change.

    January 1, 2024

    Hi ashishp9926,

    Instead of adding new script task, you can add New Custom Output and use AC!RecordsUpdated to query record to store record data to your pv.

    This would eliminate use of extra script task.