Skip to main content
ashishp9926
New Participant
Dec 27, 2023 4:20 AM UTC
Solved

Write Records output removes other data except record ID

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 ?

    venkatrea696188
    Inspiring
    Dec 27, 2023 4:53 AM UTC

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

    3 replies

    venkatrea696188
    Inspiring
    Dec 27, 2023 4:53 AM UTC

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

    ashishp9926
    New Participant
    Dec 27, 2023 5:10 AM UTC

    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.

    Known Participant
    Jan 1, 2024 2:42 PM UTC

    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.