19
Views
11
Comments
Solved
How to save the selected issue type in SR Table in the Data Base

Hello Team,

As you can see in the below image to fetch the issue types based on the category i use list wedget.

When i publish it it looks like this on the screen, i want to select one issue type and that selected issue type must be stored in the Database. How can i achieve this? Can anyone please help me on this?

A you can in the above screenshot i selected AC Not Cooling issue type.

2026-01-28 16-57-48
Mihai Melencu
Champion
Solution

Hi, yes. I updated your OML, I did the following:

I replaced the checkbox list with a radio button list so users can only select one option.

When the selection changes, I store the selected IssueType in a local variable.

Then, in the save button’s action, I updated the first assign step to set the IssueTypeId in your entity using that selected value.

Now the service request is created with the correct IssueTypeId.


FacilityMnagement24.oml
UserImage.jpg
Gaganashree Lohit

Please anyone comment on the issue


UserImage.jpg
Gaganashree Lohit

Here is my OML file

FacilityMnagement24.oml
2026-01-28 16-57-48
Mihai Melencu
Champion

Hi @Gaganashree Lohit ,

I see you're using checkboxes, just checking, are you trying to let users select and save multiple issues at once? If not, it might make more sense to use radio buttons instead, since those are better for single choices.

Also, how do you want the save to work? Should it happen right when something's selected, or only after hitting a submit button?

UserImage.jpg
Gaganashree Lohit

After hitting the submit button, along with the other data present on the screen Mihai


UserImage.jpg
Gaganashree Lohit

Is that possible Mihai?, I want to complete this at earliest.

2026-01-28 16-57-48
Mihai Melencu
Champion
Solution

Hi, yes. I updated your OML, I did the following:

I replaced the checkbox list with a radio button list so users can only select one option.

When the selection changes, I store the selected IssueType in a local variable.

Then, in the save button’s action, I updated the first assign step to set the IssueTypeId in your entity using that selected value.

Now the service request is created with the correct IssueTypeId.


FacilityMnagement24.oml
UserImage.jpg
Gaganashree Lohit

Hello Mihai, i want to understand in my system i have only radio group, but u used radio button?

Where i will get that wedget?


2026-01-28 16-57-48
Mihai Melencu
Champion

The radio buttons are created when you place the Radio Group widget on the screen.

UserImage.jpg
Gaganashree Lohit

Hello Mihai, you are a star. When i stuck every time u come along to help in hard times.

UserImage.jpg
Gaganashree Lohit

Thanks to you Aditi.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.