def execute_task(self, task, priority):
        if self.handler.is_waiting():
            raise TaskWait
        elif self.handler.is_scheduled():
            return
        else:
            handler = InputHandler(self.handler.protocol)
            ChildWorkflowExecution.start(
                decisions=self.decisions,
                name=self.handler.get_next_workflow_name(task['Task']['title']),
                input_data={
                    'protocol': self.handler.protocol,
                    'body': handler.save(
                        data=task,
                        genealogy=self.handler.tag_list + [task['Task']['title']])
                },
                tag_list=self.handler.tag_list + [task['Task']['title']],
                priority=priority)
Schedule task to SWF as child workflow and wait. If the task is not
dataset/ETHPy150Open KKBOX/mass/mass/scheduler/swf/__init__.py/SWFDecider.execute_task