Need connected line attribute 'object id' in new created field of same shapefile attribute table. In Flow of direction with connected line feature attribute id in previous line feature - new created field.
Check image snapshot and example excel snapshot for the same attached below for more better understanding.
Please provide help or problem solution for this situation.