How can I understand the use of sequence flag in a trigger?
Does it force commands in different triggers run by fired sequence?
I have such question because of a puzzle in my mind.
For example,
There're 2 triggers, trigger A and B
The trigger A is fired first and the the trigger B is fired follow with trigger A
Trigger A executes a lot of commands which may spend some time and finally write the result to some value.
Trigger B directly overwrite the value to 0 which spend little time.
I wonder whether the write action of trigger B may be completed before trigger A completing its computing/writing?
I need a way to force all triggers completing their own actions by fired sequence.
fire sequence: triggerA,triggerB,triggerC ...
command sequence: triggerAcmd1,triggerAcmd2,triggerBcmd1,triggerBcmd2,triggerCcmd1 ...
Does it force commands in different triggers run by fired sequence?
I have such question because of a puzzle in my mind.
For example,
There're 2 triggers, trigger A and B
The trigger A is fired first and the the trigger B is fired follow with trigger A
Trigger A executes a lot of commands which may spend some time and finally write the result to some value.
Trigger B directly overwrite the value to 0 which spend little time.
I wonder whether the write action of trigger B may be completed before trigger A completing its computing/writing?
I need a way to force all triggers completing their own actions by fired sequence.
fire sequence: triggerA,triggerB,triggerC ...
command sequence: triggerAcmd1,triggerAcmd2,triggerBcmd1,triggerBcmd2,triggerCcmd1 ...