Forum

[SOLVED] automatica...
 
Notifications
Retirer tout

[SOLVED] automatical change of project's status

15 Posts
2 Utilisateurs
0 Reactions
13.4 K Vu
 Lay
(@alay)
Posts: 45
Trusted Member
Début du sujet
 
[#4787]

Hi,

When the last activity is closed, the status's project change automatical with the 'closed' status when we calculate the planning.

Why ? Is there a configuration for that ?

Thanks for you reply


 
Posté : 20/11/2017 1:07 pm
(@babynus)
Posts: 14952
Membre Admin
 

It is an automation that will :
- move parent to "in progress" when first activity move into "in progress status"
- move parent to "done" when all activities are "done"

It can be disabled through Menu "Global Parameters", tab "Activity", parameter "auto set parent activity status" in section automation.


 
Posté : 21/11/2017 11:53 am
 Lay
(@alay)
Posts: 45
Trusted Member
Début du sujet
 

Hi,

The value has not been changed and it has "no"


 
Posté : 21/11/2017 3:53 pm
 Lay
(@alay)
Posts: 45
Trusted Member
Début du sujet
 

Hi,

The value has not been changed and it has "no"

mysql> select * from parameter where idUser IS NULL AND idProject IS NULL and parameterCode like '%UpdateActivityStatus%';
+------+--------+-----------+--------------------------+----------------+
| id | idUser | idProject | parameterCode | parameterValue |
+------+--------+-----------+--------------------------+----------------+
| 4582 | NULL | NULL | autoUpdateActivityStatus | NO |
+------+--------+-----------+--------------------------+----------------+

When the last activity is closed, the status's project change automatical with the 'closed' status when we calculate the planning.

Is there another configuration?


 
Posté : 28/02/2018 11:12 am
(@babynus)
Posts: 14952
Membre Admin
 

The configuration in in Global Parameters screen
(never change parameters directly in the Database)


 
Posté : 28/02/2018 2:52 pm
 Lay
(@alay)
Posts: 45
Trusted Member
Début du sujet
 

Hi,

We did not change the value directly into database. We have "No" in the BO and "No" in the database. But the project statuses are automatically updated when calculating the schedule or when the last activity is complete


 
Posté : 01/03/2018 10:34 am
(@babynus)
Posts: 14952
Membre Admin
 

Please show print screen of Global Parameters.


 
Posté : 02/03/2018 5:40 pm
 Lay
(@alay)
Posts: 45
Trusted Member
Début du sujet
 

 
Posté : 05/03/2018 7:39 pm
(@babynus)
Posts: 14952
Membre Admin
 

I just tested and behavior is as expected.

Can you try and reproduce use case on demo so that I can have traces to understand what happens ?
(I just set parameter to NO)


 
Posté : 05/03/2018 8:04 pm
 Lay
(@alay)
Posts: 45
Trusted Member
Début du sujet
 

Hi,

I created a new project on demo : #163 - Project 8798-automatical-change-of-project => Statu is "in progress"

I assigned 4 tasks and entered the real times for each resource.
Then I closed the 4 tasks status => tasks status are "closed"

When I go back to the project, the status changed to "done"

I reproduced my problem on demo.
I do not want the status of the project to change according to the number of activities in progress.


 
Posté : 07/03/2018 8:59 am
(@babynus)
Posts: 14952
Membre Admin
 

OK,
So it's not the automation "auto set parent activity status" that is involved.
It is "set to first 'done' status" : with this parameter "On" items automatically moves to status done when there is no left work.

I just set it to no on Demo.
Please try again and confirm that behaviour is the one you expect with this parameter.


 
Posté : 08/03/2018 3:58 pm
 Lay
(@alay)
Posts: 45
Trusted Member
Début du sujet
 

Hi,

I tested the demo, the problem is resolved but I have an another problem

I thought that the "set to first 'done' status" setting to 'Yes' only changed the activities statuses when I enter the real work. And not the parent elements (activities, projects), since the parameter "auto set parent activity status" is setting to 'No'.

As I understand it, if I do not want projects to change status I have to specify the following parameters:
- "set to first 'done' status' to 'No'
- "auto set parent activity status" to "No"

But if I want the status of an activity to be "done" when the rest to do is at zero how should I do?


 
Posté : 14/03/2018 9:45 am
(@babynus)
Posts: 14952
Membre Admin
 

As I understand it, if I do not want projects to change status I have to specify the following parameters:
- "set to first 'done' status' to 'No'
- "auto set parent activity status" to "No"

Yes

But if I want the status of an activity to be "done" when the rest to do is at zero how should I do?

You cannot have this onlmy for Activities, this will be managed for all "planable" items : Activities, Meetings, Test Sessions and Project.


 
Posté : 14/03/2018 1:42 pm
 Lay
(@alay)
Posts: 45
Trusted Member
Début du sujet
 

Ok, thank you

Last question: why does the status label change with the next status value (defined in the workflow) but not the "setHandledStatus", "setDoneStatus" and "setCancelledStatus" values ​​set for this next status ?


 
Posté : 14/03/2018 3:12 pm
(@babynus)
Posts: 14952
Membre Admin
 

Last question: why does the status label change with the next status value (defined in the workflow) but not the "setHandledStatus", "setDoneStatus" and "setCancelledStatus" values ​​set for this next status ?

These fields, defined on Status, don't change.
Only fileds handled, done and cancelled are changed on the item, depending on status.


 
Posté : 14/03/2018 3:38 pm
Share:
Retour en haut