Hello, I need to make a flow that when a new item is created the last item should change the status from active to passive.
My actual flow is that when the date ends it changes automatically to passive. ( This should also be featured)


Also I'm new to this so if anybody can help me I'd appreciate it.