Project

General

Profile

Actions

Task #529

closed

Task agenda improvements

Added by Marcel Poul over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Workflow
Target version:
Start date:
06/22/2017
Due date:
% Done:

100%

Estimated time:
Owner:

Description

In Tasks agenda I see my Unresolved tasks.
Expected -
  • I see all task, that I am or was involved in - included resolved tasks
  • As administrator (helpdesk user), I see all tasks in the system - resolved and unresolved. I can filter in the table by the subjects, approvers, solved by user.
Usecases
  • Typical helpdesk issue. I approved the Task for my subordinate, but user still does not have e.g. role. Who is blocking the process?
  • I want to check the state of the Task I originated or I was involved in
  • administrator want to see the report of all unsolved tasks in system or by the user

Files

who_requests.png (15.1 KB) who_requests.png Marcel Poul, 01/16/2018 09:44 AM
Actions #2

Updated by Marcel Poul over 7 years ago

  • Category changed from Workflow to Audit
  • Assignee deleted (Alena Peterová)
  • Target version set to Diamond (7.4.0)
Actions #3

Updated by Marcel Poul over 7 years ago

  • Assignee set to Radek Tomiška
Actions #4

Updated by Vít Švanda about 7 years ago

  • Target version deleted (Diamond (7.4.0))
Actions #5

Updated by Radek Tomiška about 7 years ago

  • Category changed from Audit to Workflow
  • Assignee changed from Radek Tomiška to Vít Švanda
Actions #6

Updated by Vít Švanda about 7 years ago

  • Subject changed from task agenda improvements to Task agenda improvements
Actions #9

Updated by Ondřej Kopr almost 7 years ago

  • Assignee changed from Vít Švanda to Ondřej Kopr
Actions #10

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

I implemented new agenda with all unresolved tasks. This agenda has new required permission for read: WORKFLOWTASK_ADMIN, also implemented new fields for filter: candidateOrAssigned, createdBefore, createdAfter. Original controller and service now has parent our abstract controller and service. Also WorkflowTaskInstanceDto has now parent BaseDto.

For read own tasks is now required permission WORKFLOWTASK_READ. The permission must be set to default user role (userRole).

Implementation can be found in branch: https://github.com/bcvsolutions/CzechIdMng/tree/okopr/529-task-agenda-improvements

commit: https://github.com/bcvsolutions/CzechIdMng/commit/4d247d21f94f0a5d35c308ac45491281baa7e686

Actions #11

Updated by Ondřej Kopr almost 7 years ago

Please Vitek could you make a review?

Pull request: https://github.com/bcvsolutions/CzechIdMng/pull/13

Actions #12

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Vít Švanda
Actions #13

Updated by Marcel Poul almost 7 years ago

  • Assignee changed from Vít Švanda to Marcel Poul

After discussion with Ondra, I will do some basic UX testing

Actions #17

Updated by Marcel Poul almost 7 years ago

  • Assignee changed from Marcel Poul to Ondřej Kopr

Note: Implementation of this task does not involve the history of tasks. I shortly discussed this with Ondra and this is not easy to be implemented now, so I created a new ticket - Task #902.

Actions #19

Updated by Marcel Poul almost 7 years ago

Two bugs to be addressed

  • Cannot resolve the task unless I have EXECUTE permission
  • Cannot see the status of the workflow and current implementers (on requests list).

I can retest then again. Thx

Actions #20

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from Needs feedback to In Progress
Actions #21

Updated by Ondřej Kopr almost 7 years ago

  • % Done changed from 90 to 80

I resolved feedback from Marcel and Peter:

commit: https://github.com/bcvsolutions/CzechIdMng/commit/ef9fbb83d6c8d00d683a41b1f68f5b8db5c17aa5

The problem with hidden approvers in requests table is also in develop, I will fix the bug in this task.

Actions #22

Updated by Ondřej Kopr almost 7 years ago

  • % Done changed from 80 to 90
Actions #23

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Marcel Poul

Please Marcel could you check this feature again? Thank you :)

Actions #25

Updated by Marcel Poul almost 7 years ago

Hi Ondra,
I did a quick retest. It works fine, thanks.

Two things to discuss that are not affected by your changes:
  • I am logged in as a user that the role change is REQUESTED FOR. I want to find who approves the request, I can't. - user 101. I am able to find it if I am logged in as admin - via subprocesses. This is more general feedback than bug in this ticket.
  • When logged in as a user that approve the request, I cannot see the detail of applicant or the user that is requested for. This may be a problem of permissions in CzechIdM on the virtual server. see attached file.
Actions #26

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from Needs feedback to In Progress
  • % Done changed from 90 to 70

I checked status with develop and compare with my branch, on both branch is problem with show the main task (example: Change permissions request for ...) for user that is involved in task as requester hasn't chance see parent parent process. I will fixed this problem in this ticket.

Actions #27

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Marcel Poul
  • % Done changed from 70 to 90

It was fixed fill involved users and also fix show workflow processes

commit: https://github.com/bcvsolutions/CzechIdMng/commit/878c03813c8babbd350f1fd5251305e8908d86ee

Please Marcel could make a second review?

Actions #29

Updated by Ondřej Kopr almost 7 years ago

I removed or in DefaultWorkflowHistoricTaskInstanceService search by involved user, this isn't needed more (I checked behavior with show ) and I added new tests for check task count.

commit: https://github.com/bcvsolutions/CzechIdMng/commit/b3458c2ff66ad2156d66a6f4f82b8aedf61b23ae

tests: https://github.com/bcvsolutions/CzechIdMng/commit/c7a6dcc9e6e36e1a570d21cff071934e826b0352

Actions #30

Updated by Ondřej Kopr almost 7 years ago

  • Assignee changed from Marcel Poul to Vít Švanda

Thanks Marcel for feedback I give the task to Vitek for code review and check refactor. Thanks.

Actions #31

Updated by Vít Švanda almost 7 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Ondřej Kopr
  • Target version set to Garnet (7.7.0)
  • % Done changed from 90 to 100
I did review and test. Works fine. Thanks for that.
I fixed:
  • Pagination of the tasks.
  • Complete of a task can execute only assign/candidate user.
  • Decision buttons aren't returned from backend now (if user doesn't have the Execute permission).
  • Permission "Task" translated as "Workflow task".
Actions #32

Updated by Radek Tomiška almost 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF