Have you tried using a WTUser variable in the workflow task that is
defaulted to blank, but is mandatory, visible, and resettable? It will
probably show up as a drop down. If you have 10,000s of users,
performance will likely be bad, but if you set up the resource pool to be
manageable, I would think it might work. This approach would NOT use the
Setup Participants task, but a general task or a review task with a
variable.
Al
[solutions] - Set Up Participants: how many have been selected?
Randy Jones
to:
solutions
06/14/2012 07:48 AM
Please respond to Randy Jones
Caterpillar: Confidential Green Retain Until: 07/14/2012
Windchill 9.1 M050
I have a workflow (Variance workflow) with a Set Up Participants activity.
What I want to be able to do is to make sure the task assignee selects one
and only one participant.
I would like to have the checkboxes, the user is presented with and that
are all selected by default, to be a select that would only allow one
required selection.
However since a select is not possible (I think) I am attempting to create
an optional condition for the "Complete" transition in the "Transitions"
tab.
The code I have is returning all the available participants no matter if
they have been selected or not. I need a way to see if the participant
(WTPrincipal) has been selected.
My optional condition code so far: