It's all about the answers!

Ask a question

Approval sequence for work items


Sergio Cedillo (1113) | asked Oct 15 '13, 7:42 p.m.
I need to establish an ordered sequence for approvals within a specific work item. 
Is it possible to do that? The challenge I face is to make the approvals really occurr in 
strict order, not allowing one approval to complete if the previous ones haven't been closed.

Thanks in advance for your help


2 answers



permanent link
Eric Jodet (6.3k5100120) | answered Oct 16 '13, 1:56 a.m.
JAZZ DEVELOPER
 Hello Sergio,
and create a new workflow to reflect the approval sequence.

Hope it helps,
Eric

permanent link
Sergio Cedillo (1113) | answered Oct 16 '13, 2:28 p.m.
Thank you very much Eric,

I have already saw this and looks like it might help somehow.
The problem in my case is that the order for approvals is expected to change
for every work item instance (for a given work item type). The sequence should be defined 
by someone at the beginning of the workflow. 

To clarify the problem let's suppose you have a "Project Change Request"
work item type that has to be approved by two different areas within
the organization AreaA and AreaB. For "Change Request 101" work item
is needed to define the Approval order like AreaA first and AreaB later, 
(no possibiliy for AreaB to approve if AreaA hasn't approved it yet)
but for "CR 102" should go the other way around, first AreaB, and finally AreaA.
Is it possible to establish an order enforcement like this? 

Should I consider to implement it with an script to extend this functionality?
Or any way to define approval dependencies for work item instances so that for
CR101 AreaB depends on AreaA and the opposite on CR102?

Thank you very much again for any help!

Comments
Eric Jodet commented Oct 17 '13, 1:46 a.m.
JAZZ DEVELOPER

 Hello Sergio,

in this context, I would start with Ralph's Create Approval Work Item Save Participant
article and create approvals depending on some attribute (that differentiate between CR101 and CR102).

Eric.


Sergio Cedillo commented Oct 18 '13, 5:09 p.m.

 Excellent post Eric, I am going to try some coding... I will let you know!


Sergio

Your answer


Register or to post your answer.