Forum

[SOLVED] automatica...
 
Notifications
Retirer tout

[SOLVED] automatical change of project's status

15 Posts
2 Utilisateurs
0 Reactions
13.4 {numéro}K Vu
 Lay
(@alay)
Posts: 45
Active 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 Nov PM 13:1111
(@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 Nov AM 11:1111
 Lay
(@alay)
Posts: 45
Active Member
Début du sujet
 

Hi,

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


 
Posté : 21 Nov PM 15:1111
 Lay
(@alay)
Posts: 45
Active 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 Fév AM 11:022
(@babynus)
Posts: 14952
Membre Admin
 

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


 
Posté : 28 Fév PM 14:022
 Lay
(@alay)
Posts: 45
Active 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é : 1 Mar AM 10:033
(@babynus)
Posts: 14952
Membre Admin
 

Please show print screen of Global Parameters.


 
Posté : 2 Mar PM 17:033
 Lay
(@alay)
Posts: 45
Active Member
Début du sujet
 

 
Posté : 5 Mar PM 19:033
(@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é : 5 Mar PM 20:033
 Lay
(@alay)
Posts: 45
Active 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é : 7 Mar AM 08:033
(@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é : 8 Mar PM 15:033
 Lay
(@alay)
Posts: 45
Active 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 Mar AM 09:033
(@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 Mar PM 13:033
 Lay
(@alay)
Posts: 45
Active 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 Mar PM 15:033
(@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 Mar PM 15:033
Share:
Retour en haut