I have a table where I want the user to be able to see the priority (high, medium, low) and the status (open, progress, pending, done) of each ticket. When a ticket is created, Low and Open is also given to the ticket as a default. The ID is then also stored again in the database. When I want to call the priority and status from the database I get to see 0. How can I show the correct priorities and statuses with the tickets.
Hello,
Please have a look at this .oml and compare with your own.
Regards,
Pedro.
Hello @Mohamed Touzani
You missed the assigned of those fields on the CreateOrUpdate action.
I've assigned those now, but unfortunately it still returns the ID's and not Text.
It works now! Thank you Pedro!
Hi Mohamed Touzani,
How are you settling the default value for priority and status? you could set the defaults directly in the entity attribute, in the default value property.
Hope that it helps you
I already had done that in the static entity. The priority and status attributes in the entity "Tasks" are linked with the static entity "Priority" and "Status"