BPM, Workflow, and Case

 View Only
  • 1.  How to get Selection type BO items in a NameValuePair list?

    Posted 12 days ago
    Hi All,

    Is there any trick to get the items of a Selection validation of a Selection type BO into a NameValuePair list at runtime? I mean this list:

    Thx,

    ------------------------------
    Laszlo
    ------------------------------


  • 2.  RE: How to get Selection type BO items in a NameValuePair list?

    Posted 12 days ago
    Hi Laszlo,

    First of all, selection type is a simple type not exactly a list of complex object.
    In coach, the variable would appear as a dropdown when associated with a coach view. 
    I don't think it is possible to get the values in a NameValuePair list.


    ------------------------------
    Atanu Roy
    Solution Architect
    Salient Process
    ------------------------------



  • 3.  RE: How to get Selection type BO items in a NameValuePair list?

    Posted 12 days ago
    Yes, I know, but hoped that there is a built-in function to get the choices from the BO schema...

    ------------------------------
    Laszlo
    ------------------------------



  • 4.  RE: How to get Selection type BO items in a NameValuePair list?

    Posted 12 days ago
    There is no official API I believe but nothing is impossible technically :)
    You can query LSW_CLASS table with the BO name and get either XML_DATA/JSON_DATA, then you can parse the result to get the list of values.

    ------------------------------
    Atanu Roy
    Solution Architect
    Salient Process
    ------------------------------



  • 5.  RE: How to get Selection type BO items in a NameValuePair list?

    Posted 12 days ago
    Well, that's a good idea.
    Thx,

    ------------------------------
    Laszlo
    ------------------------------