Get the index of an item in a list in backend Workflows