It's all about the answers!

Ask a question

Change WorkFlow of an Item by Attribute


Chen Ben ezra (41122) | asked Dec 24 '15, 8:32 a.m.

Hi ,

Can we change WorkFlow Dinamicly according to the Attributes value of the work item ?

BR,

Chen

Accepted answer


permanent link
Ralph Schoon (61.4k33643) | answered Jan 04 '16, 2:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The workflow is static. So the simple answer (answered already many times in the forum) is no.
What you can do is to create an advisor/precondition that prevents a state change/workflow action based on attribute information. See Only Owner Can Close WorkItem Advisor for a simple example. The blog has examples for the API e.g. related to state changes and there also should be a way to find out what the selected workflow action was, if needed.
Chen Ben ezra selected this answer as the correct answer

Your answer


Register or to post your answer.