def __init__(self, flow, process, instance, name, verbose_name=None, permission=None, auto_create_permission=True, permission_name=None, skip_if=None, assign_to=inherit):
    self.flow = flow
    self.process = process
    self.verbose_name = verbose_name
    self.permission = permission
    self.auto_create_permission = auto_create_permission
    self.permission_name = (permission_name or verbose_name or name)
    self.name = name
    self.instance = instance
    if self.instance:
        self.instance.process = self.process
    self._skip = skip_if
    self._get_assignment = assign_to
def __init__(self, flow, process, instance, name, verbose_name=None, permission=None, auto_create_permission=True, permission_name=None, skip_if=None, assign_to=inherit):
    self.flow = flow
    self.process = process
    self.verbose_name = verbose_name
    self.permission = permission
    self.auto_create_permission = auto_create_permission
    self.permission_name = (permission_name or verbose_name or name)
    self.name = name
    self.instance = instance
    if self.instance:
        self.instance.process = self.process
    self._skip = skip_if
    self._get_assignment = assign_to