add subprocess into workflow