如何to updated status column at runtime from write database

sgnarkhede2016sgnarkhede2016 MemberPosts:152Contributor II
edited April 2020 inHelp
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

Tagged:

Answers

  • hbajpaihbajpai MemberPosts:102Unicorn
    Hey@sgnarkhede2016,

    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.

                                                                

    Best,
    Harshit
    MarcoBarradas
Sign InorRegisterto comment.