41
Views
6
Comments
Solved
Priority and Status expression
Application Type
Reactive
Service Studio Version
11.54.51 (Build 63195)

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. 




Screenshot 2024-03-30 185116.png
Screenshot 2024-03-30 185838.png
Screenshot 2024-03-30 185047.png
Tasky.oml
2024-08-22 11-39-17
Pedro Sousa
Solution

Hello,

Please have a look at this .oml and compare with your own.


Regards,

Pedro.


Tasky.oml
2024-08-22 11-39-17
Pedro Sousa

Hello @Mohamed Touzani 

You missed the assigned of those fields on the CreateOrUpdate action.


Regards,

Pedro.

UserImage.jpg
Mohamed Touzani

I've assigned those now, but unfortunately it still returns the ID's and not Text.

Screenshot 2024-03-31 121707.png
2024-08-22 11-39-17
Pedro Sousa
Solution

Hello,

Please have a look at this .oml and compare with your own.


Regards,

Pedro.


Tasky.oml
UserImage.jpg
Mohamed Touzani
UserImage.jpg
Alexandre Yip

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 

UserImage.jpg
Mohamed Touzani

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" 

Screenshot 2024-03-31 122028.png
Screenshot 2024-03-31 121942.png
Screenshot 2024-03-31 121834.png
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.