jomarko opened a new issue, #1048:
URL: https://github.com/apache/incubator-kie-issues/issues/1048

   This issue is to track user externally [reported 
issue](https://stackoverflow.com/questions/78083777/kogito-custom-forms-not-loading-quarkus-maven-html-bootstrap4)
 
   
   Preface: Kie/Kogito docs are really lacking and consistently outdated with 
no option to contact devs or give feedback.
   
   Following nothing but a 3-year-old livestream from 2021 and 72+ hours 
scouring the web for the right dependencies, I finally get to a place where my 
Kogito project has:
   
   a Kogito-Runtime-Tools/DevUI card in the Quarkus DevUI (showing number of 
process, jobs, tasks, forms)
   access to the Kogito-Runtime-Tools/DevUI with the actual process instances 
populating on run (no tasks populate)
   a local download of the form-generation-cli-linux binary that generates 
.config and .html files of the auto-generated .json form
   This week of work to find all those parts take me to [[KIELive#48] Custom 
forms for User Tasks with Kogito and Quarkus 
@[23:26]](https://www.youtube.com/live/zNeuhNf1MAk?si=AOTWwUPP-ybS4pJz&t=1406). 
I have html files generated and according to Pere Fernandez, you can edit the 
HTML and the quarkus-kogito app will recognize to populate forms according to 
the newly generated forms and not the old ones. Ref: [5.16.3 Runtime Tools 
Quarkus Extension > 
Forms](https://docs.kogito.kie.org/latest/html_single/#_forms) Note: the form 
preview shown in the docs does not actually work.
   
   But whether the form html is updated in DevUI, or in VSCode, or in the 
original src/main/resource/forms/ and recompiled and rerun. Nothing updates the 
user tasks to use the html file. The same form from the auto-gen .json with my 
variable names is populated, instead of the .html bootstrap form with my 
descriptions of the variables
   
   If anyone has any clue how to fix this, or experience with Quarkus/Maven to 
fix the build or config file.. please help! I haven't found anywhere to submit 
questions for Kogito support.
   
   Project pom: 
https://github.com/kiegroup/kogito-examples/blob/main/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/pom.xml
   
   Form generation cli linux tool: 
https://www.npmjs.com/package/@kie-tools/form-generation-tool?activeTab=versions
   
   ----
   
   I need the forms reflected in the User Task Inbox. After you run that in the 
Dev UI, are you able to start a Process Instance and via a user Task Inbox view 
the updated forms? That's where it is still using the auto-gen forms.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to