Project

General

Profile

Actions

Task #1348

closed

Add selectBox and task history components for userTask in WF

Added by Roman Kučera over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roman Kučera
Category:
Workflow
Target version:
Start date:
10/25/2018
Due date:
% Done:

100%

Estimated time:
Owner:

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.

Actions #1

Updated by Roman Kučera over 5 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.

Actions #2

Updated by Roman Kučera over 5 years ago

History type implemented. SelectBox is EnumSelectBox.

Actions #3

Updated by Roman Kučera over 5 years ago

  • % Done changed from 20 to 70
Actions #4

Updated by Roman Kučera over 5 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

Actions #5

Updated by Roman Kučera over 5 years ago

Fixed selectBox bug with displaying empty value on load.

Actions #6

Updated by Roman Kučera over 5 years ago

Documentation updated

Actions #7

Updated by Roman Kučera over 5 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Roman Kučera to Vít Švanda
Actions #8

Updated by Vít Švanda over 5 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.
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.
Actions #9

Updated by Roman Kučera over 5 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

Actions #10

Updated by Vít Švanda over 5 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 did rereview and retest. Everything works fine. Thanks for that.
  • I merged your branch to the develop.
Actions #11

Updated by Roman Kučera over 5 years ago

  • Status changed from Resolved to Closed

Thanks, ticket can be closed now.

Actions

Also available in: Atom PDF