CLOUDIFY-2147 change api for relationship based tasks