A process with an auto-start condition on assignment Pending ETC is not triggered from the Organizer > Tasks tab, when the task is completed using the Completed button
search cancel

A process with an auto-start condition on assignment Pending ETC is not triggered from the Organizer > Tasks tab, when the task is completed using the Completed button

book

Article ID: 136139

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

STEPS TO REPRODUCE

1. Create a process based on the task object

2. On the auto-start condition, add the following condition to be triggered at update:


   any( ( Assignment (Subobject) Pending ETC = 0 ) )

   any("assignment", assignment.prpendestsum == 0, task.odf_pk, ctx )

3. Next step > Finish

4. Validate the process   

5. Create a project Myproject

6. Add yourself as a team member

7. Create a task MyTask and assign yourself to the task

8. On the task assignment view add the Pending ETC field

9. At assignment level add some Pending ETC (5 hours)

10. At the assignment level update the pending ETC to 0

11. The process auto-starts

12. Re-add 5 hours of Pending ETC

13. Go to the Organizer > Tasks tab

14. You see MyTask task under Open Tasks

15. Edit the Pending ETC value and set the value to 0

16. Notice that the Assignment Status gets set to Completed when Pending ETC is 0. Pending ETC is updated to 0 on the task assignment itself too.

17. The process triggers

18. Add Pending ETC value again to 5 hours.

19. Select the task on the Organizer > Tasks tab and click on the Completed button

20. Notice the Pending ETC value gets changed to 0. Pending ETC is updated to 0 on the task assignment itself too.


Expected Results: The process to be triggered as Pending ETC is 0

Actual Results: The process to be triggered even if Pending ETC has been updated to 0

Environment

Release: Any Clarity PPM release

Component: BPM Processes

Cause

This is caused by DE50685

Resolution

This is fixed in 15.8