For lottie animation prefer using this way
According to his solution, he is telling that you have to use different Lottie components for different animations
For sending data from one screen to another
These are the blocks for Screen 1
Block for Screen 2(I have named it as checking)
Demo