As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
if (document name == A)then start a task node where the swimlane is the UfficioA else if (document name == B)then start a task node where the swimlane is the UfficioB else if (document name == B)then start a task node where the swimlane is the UfficioB and so on
You're not describing a fork, what you need to use is a decision node. A fork is used to have multiple things happen all at once, whereas a decision only allows for one thing depending on a set of criteria. So, in your case, we'd write something like:<decision name="WhereTo"> <transition name="A" to="UfficioA"> <condition>#{bpm_package.children[0].name = 'A'}</condition> </transition> <transition name="B" to="UfficioB"> <condition>#{bpm_package.children[0].name = 'B'}</condition> </transition> <transition name="C" to="UfficioC" /></decision>