Based on a flag value, I need to skip remaining steps in running action and move to next action. How do I achieve this scenario?
You could use a if...then...else condition based on the content of a variable extractor that will be based on your flag value. Depending on the result you can decide which actions you would like to execute.
Another way could be to use a Try...cache container and jump to the cache container if your flag value is not the expected one.