Home > Net >  Web Api Transaction processing
Web Api Transaction processing

Time:04-21

Consult everybody
Now I run into a problem, I have two API
Sign the nuclear processes write Api
Form write Api

Because I am a nuclear process engine Api call sign, how to do the Transaction processing?

CodePudding user response:

Don't need to make what transaction,

Table is used to record, first written form records, to update the process related information, and vice versa,
Both are completed, even if completed,
There is one of unfinished, even if not completed,

2 API, complete, update their status in the table, by the way,
Have failed, don't have to roll back the records in the table already know the record failed,
  • Related