You should map result of the first work item into process variable using dataOutputAssociation and then get the process variable and map it into work item parameter using dataInputAssociation. Take a look at HumanTask processes for input assiciation examples and ServiceProcess for output association.
HTH