I have an Employee class. In my workflow i want to pass array of Employees to the promise object. While passing the array of objects I am getting the de serialization Error. Kindly help.
Promise<ArrayList<Employee>> emp=new Employee().getEmployeeDetails();