To keep it simple lets say for a two level bread crumbs, one suggestion is to have a delimited entries e.g.
Data Entry | data check, validation, four eye check, review
and the selected step input will be X|y where X is main step selected and y is sub step selected
you can use the .split("|") to convert the inputs into two arrays
other ways could be to use a map as input or a complex type as input and another map as the selected values
one more way could be to use a complex variable structure for input type and another complex variable for selected service.