Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Custom workflow questions

Hi,

We have created a custom workflow but there are further customizations we would really like to do.  If there is any way to graphically or through modifying the process configuration source to do these it would be great somebody could let me know.

Here is what I want:

At a certain point in our custom workflow, when an item changes from development - > testing I want to change the owner to the same person every time.  Similarly when the work item moves from testing to any other state I want to owner to change to the previous person in the history.

Also in terms of notifications.  Is there any way to customize notifications based on the state in a workflow.  For example, notify the analyst when any work item is added to the queue state.  Notify QA when any work item is added to the testing state.

I am using RTC Eclipse Client V3.0.1

Thanks in advance
Caroline

1

0 votes


Accepted answer

Permanent link
After doing some more work on this we have decided that it is easier to not change the owner and instead I set up custom shared queries for the QA team to find all their tasks quickly.  I will still need to investigate the notifications side of things but I have a few other higher priority items on my list before I get to this.

Thanks
Ralph Schoon selected this answer as the correct answer

0 votes

Comments

Caroline, it is always better - and cheaper - to use built-in features such as queries. Extending is not a simple thing to do and it needs to be kept working too.


2 other answers

Permanent link
Caroline,

for your first question, I would suggest to look into https://jazz.net/wiki/bin/view/Main/AttributeCustomization you can use a JavaScript based Attribute Customization, if you always have the same person. You can pass the uuid of the new owner in case the state is reached, the current ID in all other cases. This only works if the script is only triggered by the state. We are about to publish a lab in the Process Enactment Workshop about scripting soon. Not sure if we can make it this year though. Another interesting article is https://jazz.net/library/article/537/ .

For notifications, there is an IBM Team that creates and maintains custom extensions for customers for a fee that has done some work about custom notifications. Otherwise you would have to create a server side extension. You can find some information about all you need to know about that topic here.

1 vote

Comments

For the JavaScript solution, you would use a script based calculated value provider.


Permanent link
One thing you might want to consider is to create an Approval for the tester, rather than changing the owner of the work item and then changing it back.  You'll probably want to create a custom precondition to automatically add the Approval.

0 votes

Comments

If you want to modify the work item during the operational behavior, you need to use a participant and not an advisor. See http://rsjazz.wordpress.com/2012/12/14/do-not-modify-the-triggering-element-in-an-operationadvisor/ why. The interface contract of an advisor or precondition is not suited for the item that triggers to be modified.

Independent of using an approver or changing the owner, you should look into using a follow up action or participant.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,126

Question asked: Dec 14 '12, 5:22 a.m.

Question was seen: 5,088 times

Last updated: Jan 03 '13, 9:38 a.m.

Confirmation Cancel Confirm