I want to display only driver with status "Available" in the dropdown.
Hey Azfar,
Use Drivers.Driver_Status="Available" in filter of GetDrivers aggregate .
Hope this will help you!
Thanks & Regards,
Sudip Pal
Hello Azfar,
I am considering that your driver entity has 'Is Available' flag.
So, in the aggregate which is binded with drivers dropdown just add a filter,
Driver.IsAvailable = True
Then it will only fetch the list of drivers those are available, and you will get available drivers list in your dropdown.
Thanks
Anees
Hi Azfar,
That drop down you looking for, is Driver or Requestor Phone? ,
I am guessing it Driver,
In that case add an Attribute in your Driver entity saying IsAvailable and update the value when the trip is ends and also when the driver got booked , use same attribute here in the form to filter only available drivers.
Please OML below
Regards,
Komal
Hi @Azfar Aiman,
If you're using Driver_Status attribute for status so you can apply "
Trim(Drivers.Driver_Status) = Trim("Available") " in GetDrivers Entity.
Hope this works!
Deepika