BPM, Workflow, and Case

 View Only
  • 1.  can i get id from view to coach guys??

    Posted Mon June 27, 2022 12:43 AM
    i learning bpm so i dont no how to get it

    i was using publishEvent so when i run script in coach  but method selectedRow()  is undefined so how do i do? thanks guys so much.



    that script in clickEvent in table 
    me.ui.publishEvent("onRowSelected", me.ui.getIndex());

    :D

    ------------------------------
    anh dx
    ------------------------------


  • 2.  RE: can i get id from view to coach guys??

    Posted Tue July 05, 2022 04:27 AM
    Hello Anh, 

    Can you please describe in more detail what you want to achieve? 

    Take a look at this video, I think it can be useful : 

    https://www.youtube.com/watch?v=UwbWHvyJ6L8

    Best regards,

    ------------------------------
    Malek Jabri
    ------------------------------



  • 3.  RE: can i get id from view to coach guys??

    Posted Tue July 05, 2022 09:19 AM
    What is it you are trying to achieve from a functionality perspective?

    ------------------------------
    Avijit Banerji
    ------------------------------



  • 4.  RE: can i get id from view to coach guys??

    IBM Champion
    Posted Fri July 08, 2022 01:17 AM
    What I understood, that you are trying to publish an event on row selected event from a table with the row index ?
    If yes, then in the "On row selected" event of the table, write - 
    me.ui.publishEvent("RowSelected", row.recordIndex);

    Here "RowSelected" is the event key and row.recordIndex will return the current selected row index.

    Then, you can use an "Event Subscription" control and in the "Event name" configuration option, put "RowSelected". Now, from the "On published event" of the "Event Subscription" control, you can alert the current selected row number like - 
    alert("Current index : "+me.getEventData());

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