Triggering a workflow based on a selection set
Hello everyone,
I am wondering if it is possible to have a workflow fire based on the selected records (or lack therof) in a particular feature class? Basically, Im looking to have a workflow fire when the user executes a selection (of one of multiple records) on a particular data set.
The only other method I can think of (or have read on) is to have this workflow fire on Startup nad have it "listen" to the subject dataset for any changes in the Selection Set. If this is the preferred method, does anyone know what what would be the best Activity within the workflow to carry this out?
Im a relative newbie to workflows, so any assistance would be greatly appreciated. Thanks!
Andrew
0
-
Hi Andrew,
The second method you described is probably possible, but I wouldn't recommend using a workflow for something like this. The "always on" workflows I've seen before that try to listen for events in the viewer or constantly check if you're meeting a particular condition often either hurt veiwer performance or aren't 100% reliable. It's usually better if the user chooses when to start the workflow, rather than the workflow be constantly watching so it can find out when to proceed.
Either way though, the GetSelectedFeatures activity can be used to get the user's current selection from the results list/table. I'd recommend looking into that.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar