(self, module, form)
return stack_frames
post_form_workflow = 'module':
          * Add stack frame and a command with value = "module command"

        post_form_workflow = 'previous_screen':
          * Add stack frame and a command with value = "module command"
          * Find longest list of common datums between form entries for the module and add datums
            to the stack frame for each.
          * Add a command to the frame with value = "form command"
          * Add datums to the frame for any remaining datums for that form.
          * Remove any autoselect items from the end of the stack frame.
          * Finally remove the last item from the stack frame.
post_form_workflow = 'module':
          * Add stack frame and a command with value = "module command"
post_form_workflow = module : * Add stack frame and a command with value = module command
def form_workflow_frames(self, module, form):
        """
        post_form_workflow = 'module':
          * Add stack frame and a command with value = "module command"

        post_form_workflow = 'previous_screen':
          * Add stack frame and a command with value = "module command"
          * Find longest list of common datums between form entries for the module and add datums
            to the stack frame for each.
          * Add a command to the frame with value = "form command"
          * Add datums to the frame for any remaining datums for that form.
          * Remove any autoselect items from the end of the stack frame.
          * Finally remove the last item from the stack frame.
        """
        if form.post_form_workflow != WORKFLOW_FORM:
            static_stack_frame = self._get_static_stack_frame(form.post_form_workflow, form, module)
            return [static_stack_frame] if static_stack_frame else []

        stack_frames = []
        for link in form.form_links:
            stack_frames.append(self._get_link_frame(link, form, module))

        fallback_frame = self._get_fallback_frame(form, module)
        if fallback_frame:
            stack_frames.append(fallback_frame)

        return stack_frames
def form_workflow_frames ( self , module , form ) : if form . post_form_workflow != WORKFLOW_FORM : static_stack_frame = self . _get_static_stack_frame ( form . post_form_workflow , form , module ) return [ static_stack_frame ] if static_stack_frame else [ ] stack_frames = [ ] for link in form . form_links : stack_frames . append ( self . _get_link_frame ( link , form , module ) ) fallback_frame = self . _get_fallback_frame ( form , module ) if fallback_frame : stack_frames . append ( fallback_frame ) return stack_frames