code: def create_wf(name):
      """Creates a workflow for the following tests"""
  
      def fwhm(fwhm):
          return fwhm
  
      pipe = pe.Workflow(name=name)
      process = pe.Node(
          niu.Function(
              input_names=["fwhm"], output_names=["fwhm"], function=fwhm
          ),
          name="proc",
      )
      process.iterables = ("fwhm", [0])
      process2 = pe.Node(
          niu.Function(
              input_names=["fwhm"], output_names=["fwhm"], function=fwhm
          ),
          name="proc2",
      )
      process2.iterables = ("fwhm", [0])
      pipe.connect(process, "fwhm", process2, "fwhm")
      return pipe
  
imports: import os
  from copy import deepcopy
  import pytest
  from ...None import engine
  from ....interfaces import base
  from ....interfaces import utility
  from ....None import config
  from ..utils import clean_working_directory, write_workflow_prov, load_resultfile, format_node
label_desc: Use image node_id 3 for calling a global function with example usage: create_wf(name) and returns: pipe, fwhm