Added Attachment check as ServiceTask