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

Using Workitem/workflow to trigger action

Hello,
Can I use a workflow to define the state that a workItem can be in and programmatically trigger an associated action based on a given event?
The question is can one use workflow and workItem to automate processes?
Do permission to trigger workflow action are enable and working?
Thank you for sharing

0 votes



3 answers

Permanent link
Hi
You can use the work item client library to programmatically trigger workflow actions. Workflow states on a work item can only be changed using workflow actions; direct modifications on the state attribute are not supported. The permissions are checked for the user that executes the save operation.
The wiki page https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation has some information about using the plain java client library.

Regards

Marcel
Jazz Work Item team.

0 votes


Permanent link
Thanks, I was able to change WI states by changing workflow actions programmatically but what I really need is to be able to perform an action (invoke some Java code) when a WI state changes. I guess I need to use the Event Handler but it is disabled under Configuration Data or Project Configuration.
Any help or sample is welcome...
Thanks

Hi
You can use the work item client library to programmatically trigger workflow actions. Workflow states on a work item can only be changed using workflow actions; direct modifications on the state attribute are not supported. The permissions are checked for the user that executes the save operation.
The wiki page https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation has some information about using the plain java client library.

Regards

Marcel
Jazz Work Item team.

0 votes


Permanent link
Hi
You may want to have a look at follow-up actions .

https://jazz.net/wiki/bin/view/Main/PreconditionFollowupCreation

Regards

Marcel
Jazz Work Item team

0 votes

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
× 10,943

Question asked: Sep 17 '09, 4:49 p.m.

Question was seen: 6,582 times

Last updated: Sep 17 '09, 4:49 p.m.

Confirmation Cancel Confirm