Task #1348
closed
Add selectBox and task history components for userTask in WF
Added by Roman Kučera about 6 years ago.
Updated about 6 years ago.
Description
In userTask in WF you can use some basic types of components such as textArea, checkbox, etc.
Component for selectBox will be implemented.
Component which will be able to show all previous resolved tasks in WF.
- % Done changed from 0 to 20
Implementation in rkucera/1348-new-component-wf
SelectBox is implemented on BE and FE. Need to fix how the data for the selectbox will be send.
History type implemented. SelectBox is EnumSelectBox.
- % Done changed from 20 to 70
- % Done changed from 70 to 80
Added support for message in userTask which can user can fill before approving/denying and this message will be showed in history component and in workflow history
Fixed selectBox bug with displaying empty value on load.
- Status changed from In Progress to Needs feedback
- Assignee changed from Roman Kučera to Vít Švanda
- Status changed from Needs feedback to In Progress
- Assignee changed from Vít Švanda to Roman Kučera
I did review and test. It works. I found some issues:
- SelectBoxFormType: It is little hard to use it :-). I need some code definiton of selectbox (and taskHistory) in documentation.
- TaskHistoryFormType : Implementation now predicate creation of service on BE for return historic task data. It is OK, but I need some default behavior. So if I uses form property 'taskHistory' then historic table for that WF instance should be show as default.
Minor:
- In SelectBoxFormType and TaskHistoryFormType is using ex.printStackTrace() -> throw core exception instead it.
- In TaskHistoryFormType class description missing.
- DynamicTaskDetail -> linter warning on using 'let' (use const).
- DynamicTaskDetail -> use date column instead _getDate.
- Status changed from In Progress to Needs feedback
- Assignee changed from Roman Kučera to Vít Švanda
I fixed issues, test them and commit them into branch.
History task has now default behavior.
For select box you can you this in field Default in Form property configuration {"option1":"label for 1","option2":"label for 2"} I'll add it to documentation
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Roman Kučera
- % Done changed from 80 to 100
I did rereview and retest. Everything works fine. Thanks for that.
- I merged your branch to the develop.
- Status changed from Resolved to Closed
Thanks, ticket can be closed now.
Also available in: Atom
PDF