BPM, Workflow, and Case

 View Only
Expand all | Collapse all

IBM BAW 23 Single select issue

  • 1.  IBM BAW 23 Single select issue

    IBM Champion
    Posted Mon May 20, 2024 02:23 PM

    Dears,

    In IBM BAW 23 search functionality on the single select coach like Text Type ahead configuration option not working and unable to select any item if the Single select is within another coach view and works fine if it's on the coach direct.



    ------------------------------
    [ahmed] [shaheen]
    [System developer]
    [valleysoft-eg]
    [Cairo] [Egypt]
    [+20-01015699307]
    ------------------------------


  • 2.  RE: IBM BAW 23 Single select issue

    Posted Tue May 21, 2024 02:16 AM

    Hi Ahmed,

    Sorry I couln't understand the problem correctly. What do you mean by single select being in another coach? How are you giving the list items? Are the items can be seen but not selectable? Can you share some screenshots about the problem?



    ------------------------------
    Rahmi Buğra Ünal
    ------------------------------



  • 3.  RE: IBM BAW 23 Single select issue

    IBM Champion
    Posted Wed May 22, 2024 02:25 AM

    Hi Rahmi, 

    Thanks for your reply, 

    We have a coach view that have some common fields that used in more than a screen, one of them is the single select which have items retrieved from a service and works fine if not enabled the type ahead configuration option, but when enabling it to use search capability the items retrieved and we can see it but unable to select any of them,

    Also we have the same single select in a panel on a coach directly works fine and we can select and search but if we enabled the search and the items have some matched values like(1,100,1000) the first value is automatically selected and unable to select any other value unless we remove the selected one and type a space and re-search again which is another defect in the control. 



    ------------------------------
    [ahmed] [shaheen]
    [System developer]
    [valleysoft-eg]
    [Cairo] [Egypt]
    [+20-01015699307]
    ------------------------------



  • 4.  RE: IBM BAW 23 Single select issue

    Posted Mon May 27, 2024 10:19 AM
    Edited by Rahmi Buğra Ünal Mon May 27, 2024 10:20 AM

    Hi Ahmed,

    Sorry for the delay. When I look at the configuration options of single select component I can't see a type ahead configuration option. As you can see in the picture below.

    Did you by any chance modified this component and added it yourself or did you mean another configuration option as type ahead configuration option?



    ------------------------------
    Rahmi Buğra Ünal
    ------------------------------



  • 5.  RE: IBM BAW 23 Single select issue

    IBM Champion
    Posted Mon May 27, 2024 06:21 PM

    Hi Rahmi, 

    Thanks for your reply, 

    We did not make any modifications to IBM sigle select control but starting from IBM BAW V23.0.2 with all fixes applied these configurations are available as we can see in the following Screen Shot.



    ------------------------------
    [ahmed] [shaheen]
    [System developer]
    [valleysoft-eg]
    [Cairo] [Egypt]
    [+20-01015699307]
    ------------------------------



  • 6.  RE: IBM BAW 23 Single select issue

    Posted Tue May 28, 2024 03:08 AM

    Hi Ahmed,

    Thanks for sharing this information. This is a new feature then. Because we have the 23.0.1 version. And for your issue, first thing that comes to mind, just like Thong mentioned below is to check your browser console to see if there are any errors. Maybe there are some js codes on single selects on event script that causes this problem.



    ------------------------------
    Rahmi Buğra Ünal
    ------------------------------



  • 7.  RE: IBM BAW 23 Single select issue

    IBM Champion
    Posted Tue May 28, 2024 05:13 PM

    Thanks Rahmi,Thong and Stuart,

    It works fine with static lists but with items from service we still get the the same issue and to illusterate the issue , kindky find the attached videos that might help ,also thanks to Thong guide we found errors in brwoser console  as in the attached screenshot and the viedo also .



    ------------------------------
    [ahmed] [shaheen]
    [System developer]
    [valleysoft-eg]
    [Cairo] [Egypt]
    [+20-01015699307]
    ------------------------------



  • 8.  RE: IBM BAW 23 Single select issue

    IBM Champion
    Posted Tue May 28, 2024 06:37 PM
    Edited by Thong Huynh Tue May 28, 2024 06:37 PM

    Hi Ahmed,

    Do you want to try and place that custom coach view on a Client Side Human Service instead of the Heritage Human Service and see how it goes? 

    Not sure why you're still using Heritage Human Service though, I would steer clear of HHS as it was deprecated a long time ago (5,7 years from now I think). Also, HHS is a server-side style coach, back in the day, I don't remember we could ever execute any DOM selection actions, hence, the error message you're seeing now. It failed to execute DOM querySelectorAll simply because HHS wasn't a client side environment for DOM. 

    Best regards,

    Thong Huynh



    ------------------------------
    Thong Huynh
    Sydney NSW
    ------------------------------



  • 9.  RE: IBM BAW 23 Single select issue

    IBM Champion
    Posted Tue May 28, 2024 11:39 PM

    Thanks Thong,

    But we are using client side human services and the attached videos are from client side human services, we are using single select control only with the new configurations that enables search functionality within the same control in BAW 23.0.2 with the latest fix packs applied. 



    ------------------------------
    [ahmed] [shaheen]
    [System developer]
    [valleysoft-eg]
    [Cairo] [Egypt]
    [+20-01015699307]
    ------------------------------



  • 10.  RE: IBM BAW 23 Single select issue

    IBM Champion
    Posted Wed May 29, 2024 12:37 AM
    Edited by Thong Huynh Wed May 29, 2024 12:38 AM

    Hi Ahmed, 

    Apologies. I was just looking at your video briefly and thought you were using the HHS. 

    I think I could see the same issue you're seeing. 

    This happens when the Single Select was used as a Typeahead

    I think you should reach out to IBM and report this defect. 

    As for a workaround, if you want a typeahead experience for your users, maybe consider using the actual typeahead control? You would have to use strings but I think you can go around that by combining the name and value like this name-value so end users can see the name and upon selection, just get rid of the name part using split("-")

    Thanks

    Thong Huynh



    ------------------------------
    Thong Huynh
    Sydney NSW
    ------------------------------



  • 11.  RE: IBM BAW 23 Single select issue

    IBM Champion
    Posted Thu May 30, 2024 12:01 PM

    Thanks Thong and Rahmi,

    I will try with the two work around and see if the users accepts any of them.



    ------------------------------
    [ahmed] [shaheen]
    [System developer]
    [valleysoft-eg]
    [Cairo] [Egypt]
    [+20-01015699307]
    ------------------------------



  • 12.  RE: IBM BAW 23 Single select issue

    Posted Wed May 29, 2024 04:18 AM

    Hi Ahmed,

    Since I don't have the 23.0.2 version I can't test this and see it myself. I couldn't see anything wrong with your bindings. Thong says he sees the same issue, but Stuart says it works fine. Maybe he can help you solve this issue. You can also reach out the IBM about this issue. And as for a workaround solution you can put your data service before the coach view and bind your variable. Then select the static list on the single select and bind it with the same variable that you bind with the service.



    ------------------------------
    Rahmi Buğra Ünal
    ------------------------------



  • 13.  RE: IBM BAW 23 Single select issue

    IBM Champion
    Posted Tue May 28, 2024 02:49 AM

    Hi Ahmed,

    We are using Single Select or Typeahead coach views within coach views in our projects and we have never had any issues. We are on the latest BAW version as well. In principal, the out of the box coach views from the UI toolkit should be working regardless of being placed inside a nested coach view or on a coach. 

    Maybe you want to check the errors in your console and see if there are any

    Best Regards

    Thong Huynh



    ------------------------------
    Thong Huynh
    Sydney NSW
    ------------------------------



  • 14.  RE: IBM BAW 23 Single select issue

    Posted Tue May 28, 2024 04:21 PM

    Hello,

    I tried this out, also on BAW 2302, and it works as advertised. I tried this with both a static list and a service call and both worked just fine. I would echo Thong's question ... to check for possible errors in your implementation. The most likely issue is with data mapping, which happens frequently when using composite coach views. 



    ------------------------------
    Stuart Jones
    Business Automation Technical Specialist
    IBM
    Cedar Rapids IA
    630 390 4436
    ------------------------------



  • 15.  RE: IBM BAW 23 Single select issue

    Posted 27 days ago

    Hello Ahmed-

    If you are still struggling with getting this to work, feel free to reach out to me directly at don.williams@processkonsult.com and I help review your issue over a Teams or Webex call.

    Thanks -Don



    ------------------------------
    Don Williams
    ------------------------------