Add resource_in_task behavior