What should I use the commands to run the processes?

The processes are in the image which in https://qsnapnet.com/snaps/nep19prohib

(1) Step 1: My command extracts and verifies text (by verifytext command) in the position 1. Its format date is dd/mm/yyyyy

There is sometimes empty/null value

(2) Step 2: My command adds data if the position 1 has value

What should I use the commands to run the processes?

I tried if else command, but there wasn’t successfull

So just to clarify, you want to catch the “There is sometimes empty/null value” case?

I want to catch 2 cases: (1) Empty/null value and (2) has value

I edit again: the step 2 always runs after step 1 runs

Thank you so much