Skip to main content
divishac0001
New Participant
Feb 22, 2021 10:55 AM UTC
Question

Process Model

Hi,

While attempting the Process Model exercise wherein i add the smart service for write to database, its not saving the vehicle id but is executing without error.

I have also verified the vehicle CDT wherein id is the primary key with auto generation checkbox on new record checked.

How should I resolve this issue?

    4 replies

    richardm900458
    Inspiring
    Feb 22, 2021 11:36 AM UTC

    Hard to answer, as there is a lack of information:
    How is your setup?
    Dont know the exact lesson, button wich one of these are you using?

    https://docs.appian.com/suite/help/20.4/Write_to_Data_Store_Entity_Smart_Service.html?

    or

    https://docs.appian.com/suite/help/20.4/Write_to_Multiple_Data_Store_Entities_Smart_Service.html

    ?

    is you data store properly maintained regarding database and your cdts ?

    https://docs.appian.com/suite/help/20.4/Data_Stores.html

    Do you made the cdt set up correctly for primary keys?

    https://docs.appian.com/suite/help/20.4/Mapping_CDTs_to_Pre-defined_Database_Tables.html#primary-keys

    mikes0011
    Brainy
    Feb 22, 2021 3:07 PM UTC

    Can you show your current configuration of the Data Outputs tab on that node?

    The Expression Guru
    divishac0001
    New Participant
    Feb 23, 2021 11:34 AM UTC

    mikes0011
    Brainy
    Feb 23, 2021 2:28 PM UTC

    And when you monitor a process instance that's passed through this node, what is the value you see in pv!vehicle afterwards?

    The Expression Guru