I am in desperate need of assistance. I have been at this for a week already.
I just need to delete a name from a list. The user logs in and can choose to cancel an appointment. The app should go to the chosen date, and delete that person’s name from the list
Please see here the way I am attempting to do it - I have tried every which way, but nothing is working:
Hi there, @stanley2… your screenshot brings up a good number of questions (for me, at least), but I guess we can start with something simple. Try changing what you have to Booking Name remove Current User's First Name.
Well, now we would have to start digging a lot deeper into understanding your app, and that’s a tall task for a forum thread. If you want to share a lot more screenshots (data types, elements, workflows) or a read-only link to your editor, though, maybe someone can help you figure out what’s going on.
In theory, you would do exactly what you are showing. You have a field that’s a list (which obviously the Book Name field is, and I assume it’s a list of texts), and you would use the remove operator to remove something from the list.
Go to your Settings >> General tab and change the Application rights dropdown to Everyone can view. Then, copy the URL to the relevant page in your editor and paste the URL in this thread.
From everything I am seeing, it looks like it should be working. When you run the workflow in step-by-step mode, it finds the correct booking date, and it knows the name it is supposed to remove. I have no idea why it isn’t removing it, though. I actually set up a similar test in my sandbox app, and it works as expected.
The only thing I can think of at this point is to delete the workflow and maybe the associated elements, too, and recreate that functionality from scratch.
Thank you Mike - that was my thinking exactly. I cannot see a reason it should not be working. I am going to attempt the above as you suggested and then report it as a bug if it still does not work.
Just checked. Yeah workflows seems to be fine, it should remove a name from the list of texts.
Definitely try to do what Mike said - try redoing the entire workflow and elements.
I might be missing something out but as far as I can see, you didn’t create any function to create a new booking, you just have a do a search for function for the current bookings. If you check your data tab, you only have 3 booking dates.
So if you were to use “book me”, it would not return any bookings dates and thus adding a text data to something that does not exist, unless if the date and time picker’s value coincides with your search structure
You are saving the user’s fist name + blank space
That is why you can’t delete the user’s first name… because, for Bubble, the element list is the user’s fist name + blank space