title: Routing of an activity task to preferably a specific worker in the SWF fleet
body: <p>Considering the <a href="https://github.com/aws/aws-swf-flow-library/tree/master/src/samples/AwsFlowFramework/src/com/amazonaws/services/simpleworkflow/flow/examples/fileprocessing" rel="nofollow noreferrer">fileprocessing</a> sample which executes download activity on any host from the pool, then converts the file and uploads the result on the same host as the first one, is there a way to route an activity task to preferably (not always) a specific worker in the SWF fleet based upon the worker's availability, reason is that the worker should not be overloaded with tasks which might affect the latency.</p>