AnsweredAssumed Answered

Determine who carried out work for pooled task

Question asked by boneill on Oct 11, 2012
Latest reply on Nov 22, 2012 by jmiranda
Hi Guys,

I have an activiti workflow that has a pooled task (architecture Review).  So the task can be carried out by anyone in the assigned group.  The user can select Approve or Reject etc.    See type for task below.

My requirement is that the next task that occurs will be performed by the same user that carried out the Architecture Review task.  How can I determine who carried out the previous task.  I have noted that bpm_assignee only has a value if a member of the pooled group "Accepts" the task prior to working  on it.  However no value is present if the user just pushsed approve button.

<type name="seedim:archReview">
            <parent>bpm:activitiOutcomeTask</parent>
            <properties>
                <property name="seedim:archReviewOutcome">
                    <type>d:text</type>
                    <default>Approve</default>
                    <constraints>
                        <constraint name="seedim:archReviewOutcomeOptions" type="LIST">
                            <parameter name="allowedValues">
                                <list>
                                    <value>Approve</value>
                                    <value>Reject</value>
                                </list>
                            </parameter>
                        </constraint>
                    </constraints>
                </property>
            </properties>
            <overrides>
                <property name="bpm:packageItemActionGroup">
                    <default>edit_and_remove_package_item_actions</default>
                </property>
                <property name="bpm:outcomePropertyName">
                    <default>{http://www.seedim.com.au/model/workflow/1.0}archReviewOutcome</default>
                </property>
            </overrides>
        </type>

Regards

Outcomes