Hello everyone,
After I discover docs for a while finally I can create customize User Interface that using Coach (Client Side Human Service) with Case Solution already.
The fundamental concept was you create Coach UI then you just embed those UI to render in Case Solution Widget.
For Dynamic Property of dropdown list from API like REST or SOAP anything that came from external Network system you can implement by using "BPM Services" with "Service Flow"
Then when you want to display Case Detail Page with Coach UI you just change your default Case Layout which normally will using Property View for Property Widget right ? Just change it to Case Details Adapter ! Then everything will be working :)
I had attach picture so you can see overview how to configure project also
Here is the important link for detail how to mapping Value from Javascript variable to your Single Select dropdown https://www.ibm.com/docs/en/bpm/8.6.0?topic=toolkit-single-select
Also in your default Page layout like "Add Case", "Case Detail" you need to using Case Adapter widget but please make sure that you leave URL of Website Viewver to empty as default ! Because CSHS will automatically inject embeded UI to Page automatically.
Summary with all of this step you can using REST API to display dynamic result to you Case Page like BPM also data can binding to caseProperty and treat like managed choice so you don't need to hard code anymore.
------------------------------
Supakorn Trakulmaiphol
------------------------------
Original Message:
Sent: Wed March 16, 2022 09:32 AM
From: Supakorn Trakulmaiphol
Subject: Is it possible to have Case Solution with dynamic Javascript like BPM Coach CSHS
Hello everyone, I'm understanding that if I use BPM Coach inside Process Workflow I can customize almost everything like using Javascript to send or retrieve and display data to Coach GUI but somehow I want to using Case Solution because I want to store permanent document and activity to audit people who add, edit, delete activity related to my workflow so I think Case Solution is appropriate but somehow I want to adding new Case with have dynamic Property
For example my MaterialGroup might retrieve data from API which have dynamic list don't hard code to my Case solution because currently I need to using Choice which hardcode list to my Case and I cannot connect to external API when Category list is update so Administrator don't need to manually deploy MaterialGroup everytime external data is changed.
Or my last resort might be create whole new Process BPM Coach workflow that clone entire Adding Case Solution User Interface ? then when I start process for adding Case first time it will sent me to Coach UI but also create new Case behind the scene by using Javascript in Workflow ?
------------------------------
Supakorn Trakulmaiphol
------------------------------