Put mulitpart entity code in task