I have two questions... kindly advice if one post is enough for both of them 
1)
I want to deploy only the selected files when i run the workflow which has only a deploy task. Is it possible?
2)
Also my teamsite the structure is
default/main/POC/BUILD_POC/WORKAREA/BUILD_AREA/custom_customer_src/xyz/com
default/main/POC/BUILD_POC/WORKAREA/BUILD_AREA/custom_customer_src/abc/com
default/main/POC/BUILD_POC/WORKAREA/BUILD_AREA/custom_customer_src/pqr/com
So when i select a field under xyz/com, then i want the value xyz, which i want to use in DNR script. Is this possible?