It's all about the answers!

Ask a question

Dynamic workflow depending of field values RTC -work items

Rafael Rodriguez Montes (23013114224) | asked Oct 08 '15, 11:05 a.m.

is there any way to change the next action and state if the user decide to select specific values on the pull down menus? and how that can work on the way that once is selected the name of the action change and the  target state is different?

Accepted answer

permanent link
sam detweiler (12.5k6191201) | answered Oct 08 '15, 3:51 p.m.
you could write a java extension (participant) to move the workitem to selected states in the defined workflow depending on field values.  you could NOT move it to just 'any' state, only the states which have defined transitions from the current state.

ie, the workflow is fixed when saved in the editor.
Rafael Rodriguez Montes selected this answer as the correct answer

Rafael Rodriguez Montes commented Oct 08 '15, 4:04 p.m.

 that sound interesting, do you have an extension example ?

sam detweiler commented Oct 08 '15, 4:08 p.m.

No, but Ralph has blog entries that talk about manipulating the workflow

One other answer

permanent link
Ralph Schoon (62.3k33643) | answered Oct 08 '15, 2:14 p.m.
Not that I am aware of.

Your answer

Register or to post your answer.