Hi,
I would like to deal with a simple string var (let’s say flagError = 0) and access to this var in the main FAILURE.
but whatever the value I set in flagError, at the end the var is droped and does not exist anymore.
What can I do to make this working please ?
flagError = 0
SEQ-SUCCESS
SEQ - FAILURE (main)
// Process 1
SEQ-SUCCESS
SEQ - FAILURE
copy file
SEQ-DONE
flagError = 1
Exit with Faliure
// Process 2
SEQ-SUCCESS
SEQ - FAILURE
copy file
SEQ-DONE
flagError = 2
Exit with Faliure
SEQ-DONE (main)
manage all errors
BRANCH on flagError
1 : do something
2 : do smething else