Wireless Sensor Networks (WSNs) hosting multiple applications are gaining popularity over wireless sensor networks dedicated to a single application. The applications hosted by the WSN may have different characteristics. This research investigates the importance of using information about the characteristics of the applications and the state of the network while allocating the sensor nodes to requests for applications. A number of static and dynamic allocation algorithms are investigated. Results of simulation experiments demonstrate that the lifetime of a WSN can be effectively increased by using information about the applications and the state of the WSN.