When to use Write to Data Store Entity Smart Service and expression function a!writeToDataStoreEntity()

Hello everyone, my team and I are currently exploring writing our data into the database however, we are unsure if we should make use of the process model to write to db or the expression rule function a!writeToDataStoreEntity() provided by Appian. We read up the documentation but it doesnt really highlight the major differences or the preferred scenario to use either one of the methods. One major difference that we thought of is that if we make use of the smart service in the process model, a process instance will be created upon runtime which will essentially help us to track and debug in case any error occur. Does anyone know what are the differences and when is preferred use one over the other? 

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data