The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
how to updated status column at runtime from write database
sgnarkhede2016
Member Posts: 152 Contributor II
Hello,
I have created one column in db "status"
I want to update the status of records are written in db or not in status column
e.g
Data I/p =>Generate attribute(Status- "Started)=> Updated db(Status)=> Write Db => Generate attribute(Status- "Completed)=> Updated db(Status)
Currently I am trying this ways but how can I identify if process failed in the middle then after "Write Db" part not executed then how can i know which data not write
I have created one column in db "status"
I want to update the status of records are written in db or not in status column
e.g
Data I/p =>Generate attribute(Status- "Started)=> Updated db(Status)=> Write Db => Generate attribute(Status- "Completed)=> Updated db(Status)
Currently I am trying this ways but how can I identify if process failed in the middle then after "Write Db" part not executed then how can i know which data not write
Tagged:
0
Answers
If you can know common errors, it is best to build to isolate the use cases and build contingencies for the same in your process. The operator I use a lot for these cases is handle exception and throw exception in my processes. This helps me take care of known error scenarios and avoid unexpected process stopping. Check out the below sample process of Handle Exception.
Harshit