This project is not covered by Drupal’s security advisory policy.
INTRODUCTION
------------

"If Then Else" module provides a graphical user interface to set different rules which can work as a replacement of programmatic hook based approach to add custom actions on different hooks and events.
The goal of this module is to provide site builders with an easy to use interface to build rules (code snippets) based on different events, conditions and actions.
The benefit of doing this to allow site builders to build sites faster with custom rules they can build.
* For a full description of the module, visit the project page:
https://www.drupal.org/project/if_then_else
* To submit bug reports and feature suggestions, or to track changes:
https://www.drupal.org/project/issues/if_then_else
For those of you who are familiar with Rules module, here are the major differences:
1) Modern graphical UI using rete.js library (https://rete.js.org/). Flows are much easier to set up and inspect.
2) Support for "Else" statement is in-built instead of relying on a separate module.
3) Support for form alteration, validation and submission is in-built without relying on a separate module.
4) Much easier to track inputs to conditions and actions for an admin who is not familiar with Drupal's tokens.
GET SUPPORT
------------
1) We have created an example distribution which you can try out at https://simplytest.me
2) Alternatively, you can also install the `if_then_else_examples` module to review some common examples.
3) If you are still not able to create an `if Then Else` then please click here to join the slack channel for support.
![]()
4) For bugs and new features please use the Drupal issue feature.
Currently supported Events, Actions and Conditions
----------------------------------------------------------
Events:
Conditions:
Actions:
REQUIREMENTS
------------
This module doesn't have any dependency on any other contributed module.
INSTALLATION
------------
* Install as you would normally install a contributed Drupal module. Visit:
https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-mod...
for further information.
CONFIGURATION
-------------
* Configure Rules Debugging in Administration » Configuration » System » Ifthenelse configuration
- Select the checkbox and save to enable debugging of "If Then Else" rules.
MAINTAINERS
-----------
Current maintainers:
* Neerav Mehata (neeravbm) - https://www.drupal.org/user/1067380
* Vishal Khialani (vishalkhialani) - https://www.drupal.org/user/479870
* Akshay Kelotra (akshay.kelotra) - https://www.drupal.org/user/3582438
* Ren Singh (rensingh99) - https://www.drupal.org/u/rensingh99
This project has been sponsored by:
* Red Crackle
Specialized in consulting and planning of Drupal powered sites, Red Crackle offers development, upgrade, customization, migration and Performance Tuning.
Visit http://redcrackle.com/ for more information.
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.- Project categories: Automation
5 sites report using this module
- Created by neeravbm on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

