Workflow automatization

Description
RJR
Posts: 11
Joined: Tue Mar 12, 2019 7:38 am

Workflow automatization

Postby RJR » Tue Apr 16, 2019 10:03 am

For workitems I can create a linkedworkitemstatuschange function so when a workitem its status is changed the linked workitem its status will change as well.

I want to make something similar for workitems and documents. For example: My document is in the status in review, all my workitems as well. I want to make a function that when I have changed all my workitems to reviewed the status of the document will change as well.

Is this possible by default in Polarion or do I need to make a scriptfunction?

Jürgen
Posts: 89
Joined: Tue Sep 12, 2017 1:02 pm

Re: Workflow automatization

Postby Jürgen » Wed Apr 17, 2019 11:57 am

AFAIK this is not possible per default. I think there is no dependency at all between document state and work item state, same with approval. My personal assumption is, that document state/approval is rather meant as an alternative to work item state/approval, not really depending on each other.

RJR
Posts: 11
Joined: Tue Mar 12, 2019 7:38 am

Re: Workflow automatization

Postby RJR » Thu Apr 18, 2019 6:21 am

Would it be possible to make a function for automatic workitem approval? The status change reviewed adds default approvers, so there is a list of approvers. I would like a automatic function when the last approver approves the workitem ( and all other approvers have approved so no disapprovals) the status of the workitem would automatically become approved.

raElmo
Posts: 1
Joined: Thu Apr 12, 2018 8:54 am

Re: Workflow automatization

Postby raElmo » Thu May 16, 2019 4:25 pm

Hi RJR,

How do you make the linkedworkitemstatuschange function?
I would like it if when I change the status of a work item, this would automatically change the status of the work items that are linked to this work item.

Thanks.

RJR
Posts: 11
Joined: Tue Mar 12, 2019 7:38 am

Re: Workflow automatization

Postby RJR » Tue Jul 30, 2019 12:46 pm

This is possible in the workitem workflow manager.
you can create a function triggered by status change called: LinkedWorkItemsStatusChange
by using the right parameters ( you can find these in polarion help) a linked workitem will change its status aswell.

example, when a testcase goes to the status passed, the linked requirement goes to validated.

fml
Posts: 10
Joined: Tue Jul 31, 2018 1:03 pm

Re: Workflow automatization

Postby fml » Tue Aug 06, 2019 6:48 am

Dear RJR,

I have a question to the named example: "...when a testcase goes to the status passed, the linked requirement goes to validated..."

If you use the TestRund-feature of Polarion a TestCase is executed within a TestRun and gets a TestResult for this specific Revision, therefore ist status doesn't change. You will have a TestResult which is for example "passed", "failed" or "blocked", but no status-Change of the WorkItem-Type TestCase.

Is their any Workflow Function in Polarion which can change the status of a Requirement, depending on the TestResult? This would be very helpful.

Best regards
Markus


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 6 guests