List of options in BDM?
I don't think that I was able to convey what I'm trying to achieve. Let me try this, I'm basically looking for the equivalent functionality described here in Bizagi:
I want to be able to define a list of possible values for a certain parameter during the data modeling phase, not the form building phase (nor the process design phase). For a low-code BPM solution, I'm expecting to be able to graphically input the list of possible values, and then, when building a form, the list should auto-magically be populated with the possible values. Am I asking for too much?
It's easy to do that. In your Bonita Studio, just near the BDM varriable, you have one other 'window' that's called : 'Process varriables'.
In this window, you can create variable without BDM.
Yes, I know about that but that's not what I want. I want to be able to define the list of options in the BDM, on one of my attribute. Is it possible?
I don't want to create any process variable. I was just giving that as an example of the functionality I'm looking for with regards to list of options.
When we create an attribute in BDM, we have this list of type options:
When we create a pool variable, we have different types. I'm not sure I quite understand yet why it's not the same type choices as BDM and why I can't get a List of options in BDM.
I basically want some enums in my BDM. Isn't there a way to achieve that? In my perhaps overly simplified view, I would like to simply be able to define some BDM attributes as some kind of enum and when this attribute is used on a form, then I can automagically use either a drop-down list of option or radio buttons, depending on the look-and-feel I'm looking for. But then all the behind the scene code would be handled for me.
I don't quite understand how I can enforce that some attributes in the BDM really only can have a fixed number of options. It's probably just because I'm so new with Bonita and I don't quite grasp all the concepts yet.
Is there something preventing you from just using a list of strings or list of objects?