Possibility of using all of the "CurrentTaskPlanStatus" values

Idea ID 2755242

Possibility of using all of the "CurrentTaskPlanStatus" values

We need the flexibility to use all of the "CurrentTaskPlanStatus" values.

Some out-of-the-box rules use conditions like $entity.CurrentTaskPlanStatus. Although we expect to see this field in the fields section of every entity with Task Plan, it cannot be found anywhere.

The field gets the following values: "Running,Success,Failed,Cancelled".

Unfortunately, out of the 4 possible values (Running, Success, Failed, Cancel), the field is only populated with "Running" and "Success" values. There is no way for this field to have a value "Failed" or "Cancel".

For example, if we only have one task in Running status, the CurrentTaskPlanStatus is "Running".

If we close the task, the CurrentTaskPlanStatus is "Success".
If the task fails, the CurrentTaskPlanStatus is "Success".
If it is cancelled, the CurrentTaskPlanStatus is "Success".


Schedule rule for auto closure. And the steps are:

Create a custome filed TaskPlanStatus
Create a rule in IT Service->After change-> Set TaskPlanStatus to ${entity.CurentTaskPlanStatus}
Create a custom field RequestStatus
Try to add them in the full request form
Then set the per schedule rule which is:
After the record is in this phase for 1 hours, then every 1 hours, if ${(entity.TaskPlanStatus_c == 'Success')} Set Solution: Auto closed, Completion Code:CompletionCodeRequestFulfiled_c

Change the flag task plan showstopper from false to true.

This flag seem to change the CurrentTaskPlanStatus value to failed and cancelled if the last task fails or is cancelled, but it also has an impact on the progression of the Request’s workflow, which gets stuck on the fulfil phase (if the CurrentTaskPlanStatus is set to failed or cancelled). Therefore, there is no way for a Request to close, unless every task completes successfully. This cannot be the case for every Request.

The “task plan showstopper” flag is a good feature and works fine as-is.
However, the value of the CurrentTaskPlanStatus should be irrelevant to this flag.
We should be able to use the “failed” and “cancel” values in whatever way best suits the customer.
It makes no sense to only have 2 values available (Running and Completed) when the “task plan showstopper” flag is set to false and a task
fails or is cancelled. It will be really convenient to be able to use all of the values as it is important to extract the correct information, in order to proceed with auto closure of a Request according to the task plan status.

Tags (2)
2 Comments
Micro Focus Expert
Micro Focus Expert
Status changed to: Waiting for Votes

Thank you for sharing your idea! It’s open for comments and kudos, and we’re looking forward to input from the community. Once there is enough community traction, it will be further reviewed by the product team.

Trusted Contributor.
Trusted Contributor.

I want this too

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.