AnsweredAssumed Answered

WorkflowBean exposed

Question asked by ivana.jeremic on Mar 12, 2008
Hi everyone,

I have a question about WorkflowBean.

I added new property to bpm_model.xml which tells me in what sector workflow was created:

                <property name="bpm:sectorID">
                    <type>d:text</type>
                    <mandatory>true</mandatory>
                    <!–default>01</default–>
                    <constraints>
                        <constraint ref="bpm:allowedSectorID" /> <!– allowedSectorID={0,1,2} –>
                    </constraints>
                </property>

Now I want to make a custom view (ftl or jsp) which will only display tasks for current user's sector.

I tried to make it work with ftl but I can't get allActiveTasks with exposed "workflow".
I even tried to make it with jsp changing "tasks-active-dashlet.jsp" but had no luck.


Is there any way of doing this without getting into Java code?

Thanks!

PS. 2.10 community with MySQL 5.0 on WinXP

Outcomes