Dear ,
I do believe A is submitting means that hes initiating the workflow ,
so , what u need to do first is to add 2 data labels , as flags , and in ur smartform when a user checks hardware ,
on ur "start workflow" configuration , send a flag value to the workflow data field ,
same for checkbox software ,
and draw 2 lines out of ur start activity ,
1 that goes to (B,C) <--- hardware
1 that goes to (D,E) <--- Software ,
and right click both of the lines , and add a line rule for each of them ,
if flag==1 for example , since its a flag and this value comes from ur smartform , if user checks hardware check box ,
in this way , when u start the workflow it will check line rules , if first Flag=1 then proceed in this line ,
and on ther second line , add a line rule , if second flag=1 then proceed in this line ,
in this way if user checks one of the boxes , 1 of the lines will be executed , and if the user checks 2 of them , both of the lines will be executed ,
Hope it helps!
Regards.
Hi Ahmad Yaqub,
Thanks for the reply!
Actully we are use k2 designer for developing the workflow
I think LIne rules = outcome rules in designer?
The main problem is that we have 12 Request types
And Every request type have 3 level of approval.
Below snapshot is the flow of one request type suppose hardware.
this way we need to draw 12 lines out of our start activity ,
i think this way we need to write same flow 12 times like above snapshot for every request type and change approvers in user tasks according to the request type.
beacuse every request type have different different approvers.
And we need to take 12 status column for every request type.
Plesase suggest me if you have any another solution.
Thanks,
Karan Bajaj