Highlighted
Absent Member.
Absent Member.
1380 views

How to move from one phase to another automatically when tasks are complete

Hello,

I am using HPSM 9.41 codeless. My request category has 2 tasks in Fulfillment phase. I want to move to Next phase automatically, when all the tasks are closed.

Is it possible ? ? ?

0 Likes
9 Replies
Highlighted
Highlighted
Absent Member.
Absent Member.

Re: How to move from one phase to another automatically when tasks are complete

Hi,

Thanks for the update. I have tried doing that. But the problem is, tasks and request are seperate modules. So on updating tasks, request is not getting updated. I think, until we perform any action in request ticket, it will not move to next phase, even if the tasks are closed. 

Any other suggestions guys ? Please help.

0 Likes
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: How to move from one phase to another automatically when tasks are complete

Hello,

thats a standard functionality and as it is mentioned abive should move to next phase after all tasks are closed.

0 Likes
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: How to move from one phase to another automatically when tasks are complete

You can try the following,

switcth the transition type to automatical.

In the condition for transition besides of your custom logic add condition like

( Last Task Status in Phase = "closed")

 

This is not tested, just a suggestion

 

Highlighted
Absent Member.
Absent Member.

Re: How to move from one phase to another automatically when tasks are complete

Hi  vadim,

Thanks for the suggestion. Let me try this in my environment on Monday . I'll let you know.

Thanks again

Satanik

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: How to move from one phase to another automatically when tasks are complete

Hello Vadim,

Still this is not happening. I think, request and requesttask are two separate modules and thats why it is not happening. Is there any other solution / suggestion ?

Thanks,

 

0 Likes
Highlighted
Established Member..
Established Member..

Re: How to move from one phase to another automatically when tasks are complete

I think you can use javascript to do this.

The idea is the code is:

if the task is closed then check whether all other tasks in the requset are closed.  if yes, update the request phase and save it.

You can implemetn this in a ruleset and add into close phase of request task.

0 Likes
Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

Re: How to move from one phase to another automatically when tasks are complete

Hi

Did you find any solution for this......

I am also looking for same thing in PD. I have move Change phase 3 to phase 4 once all tasks are closed

I tryed Last Task statu/flag, those are not working

Let me know if any one has a solution

 

Thanks

Reddy

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to move from one phase to another automatically when tasks are complete

The logic is...

Exchange data brterrn request and task by triggers.

1) Trigger for task after change status to resolve(close) - check is there any other opened tasks in same phase

if not then save into request new (next) value of phase 

2) Trigger for request for phase change - should activate (change status) for all tasks in new current phase

 

All triggers start shcedule wich start ioaction - in ioaction make all needed changes and if acnt save changes then reshedule again.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.