Task #1348
closedAdd selectBox and task history components for userTask in WF
100%
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.
Updated by Roman Kučera about 6 years ago
- % 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.
Updated by Roman Kučera about 6 years ago
History type implemented. SelectBox is EnumSelectBox.
Updated by Roman Kučera about 6 years ago
- % 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
Updated by Roman Kučera about 6 years ago
Fixed selectBox bug with displaying empty value on load.
Updated by Roman Kučera about 6 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Roman Kučera to Vít Švanda
Updated by Vít Švanda about 6 years ago
- 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.
- 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.
Updated by Roman Kučera about 6 years ago
- 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
Updated by Vít Švanda about 6 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Roman Kučera
- % Done changed from 80 to 100
- I merged your branch to the develop.
Updated by Roman Kučera about 6 years ago
- Status changed from Resolved to Closed
Thanks, ticket can be closed now.