Skip to content

Automation Rules

K Sashi Kumar edited this page Jul 25, 2017 · 4 revisions

Implementation details

Development in progress

Automation rules are powerful and configurable rules to automate redundant manual tasks of the discussion forum. Each rule contains:

  • Filter conditions
  • Actions

The user chooses the filter conditions for discussion and the actions that should be performed on those discussions, the system will execute the actions automatically.

Example data hash:

{
  filter_data: {
    when: 'discussion_create',
    filter_type: 'spam_count',
    operator: 'gt_than' # greater than
  },
  action_data: {
    action: 'delete'
    value: nil
  }
}
Clone this wiki locally