Skip to main content
divishac0001
February 22, 2021
Question

Process Model

  • February 22, 2021
  • 4 replies
  • 0 views

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
    February 22, 2021

    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
    February 22, 2021

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

    The Expression Guru
    divishac0001
    February 23, 2021

    mikes0011
    Brainy
    February 23, 2021

    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