BPM, Workflow, and Case

 View Only
  • 1.  Adding A Dynamic List Of Choices Generated By A BPM Process To A Case Builder Property

    Posted Tue May 28, 2024 01:13 PM

    Hi all.

    I desperately need some help, so I decided to reach out to this community.  Below is the quick synopsis of the issue.

    Within IBM Case Builder, I have created a custom property view through which to enter property data into my case type.  Within this view, six of the properties will use choice lists so that the user can select a displayed value but an actual value will be stored for the property.

    Within a BPM workflow, I have defined six service flows that use "tw.system.invokeREST()" to retrieve data from an external REST server.  Each service flow returns its data in "(String)(List)" format.

    I would like to use the above data to dynamically populate the six choice lists so that they are freshly updated prior to a new case's being created or an existing case's being modified.

    How can I leverage the BPM workflow service flow work I have already coded to supply dynamic data for the choice lists within Case Builder?

    Please note that I have very limited advanced programming ability.  I have successfully created activities that use existing processes within a BPM workflow.  I am hoping to be able to supply the choice list data from processes I can create for the six service flows or in a very simple coding method that can reuse the work I have already coded.

    Any help will be greatly appreciated.

    Thoughts?


    Take care.

    -David



    ------------------------------
    David Holness
    ------------------------------


  • 2.  RE: Adding A Dynamic List Of Choices Generated By A BPM Process To A Case Builder Property

    Posted 30 days ago

    Hi David,

    Can you confirm which type of "Add Case" page you are using? Are you looking to use "Add Case" or "Add Case Default (Human Service)"

    The Human Service version should be able to leverage Service Flows.

    If using the "Add Case" page then you might need to use something like dojo.xhrGet via a Script Adapter widget to talk to your REST API.

    Good luck!

    Dave.



    ------------------------------
    Dave Ward
    ------------------------------



  • 3.  RE: Adding A Dynamic List Of Choices Generated By A BPM Process To A Case Builder Property

    Posted 29 days ago

    Hi @Dave Ward.

    Thanks for responding.  I actually have resolved my issue.  I have created an activity with new process.  In the BPM process, I have written code that generates the data and then writes the data back to the Case properties.

    I'm all set.

    Thanks again.

    -D



    ------------------------------
    David Holness
    ------------------------------