BPM, Workflow, and Case

 View Only
  • 1.  Using PFS REST API without user authentication

    Posted 21 hours ago

    Hi,

    we aim to build a portal with consolidated view of business users.

    In this portal each user may find all its claimed and claimable tasks.

    In v24 a BAW search integrates a new advance search feature where the tasks may be retrieved for a user with its user ID.

    Meanwhile how is it possible to achieve such searches ? We're on v21.0.3 and we cannot wait on the non-planned v24.

    BAW and PFS APIs don't seem to offer such options.

    Thanks for help

    Yannick 



    ------------------------------
    Yannick Martin
    ------------------------------


  • 2.  RE: Using PFS REST API without user authentication

    IBM Champion
    Posted 20 hours ago

    Hello Yannick,

    If a user is trying to fetch the tasks assigned to another user or group, then we have a couple of options  - 

    1. Use TWSearch JavaScript API - https://www.ibm.com/docs/en/baw/23.x?topic=examples-searching-processes-tasks
    2. Use JavaScript API - https://www.ibm.com/docs/en/baw/23.x?topic=apis-javascript-api-in-processes-cases-service-flows

    Thanks!



    ------------------------------
    Atanu Roy
    Lead Engineer
    London Stock Exchange Group
    ------------------------------



  • 3.  RE: Using PFS REST API without user authentication

    Posted 20 hours ago

    Hi Atanu,

    thank you for your quick answer. We are about to test such javascript search in a process application.

    It's difficult to forecast the performances in production environment when hundred of users open the aggregation portal.

    The javascript operations in BAW are not so efficient than REST APIs.

    BR

    Yannick



    ------------------------------
    Yannick Martin
    ------------------------------



  • 4.  RE: Using PFS REST API without user authentication

    IBM Champion
    Posted 20 hours ago

    Hello Yannick,

    You are right, performance of these searches are dependent on various factors like - number of instances, number of concurrent users, number of exposed data fetched etc.

    It would be advisable to conduct a proper performance test simulating a similar load to have a high level idea.

    I have used TWSearch based approach in production many times. Implementing  Saved search acceleration tools can be very useful to improve the performance of searches fetching a lot of exposed business data.

    Thanks!



    ------------------------------
    Atanu Roy
    Lead Engineer
    London Stock Exchange Group
    ------------------------------