SimplyRun

Automate actions based on event triggers within specific modules

Overview

SimplyRun is a module which will perform automated tasks based on time or other specific triggers.

 

How the Rules are Executed

A lambda function will run every minute and access a URL using a GET method to https://cwp.thinksimplicity.com/api/run/cron

This will trigger the master controller file for SimplyRun and function named 'public function run()'

Table Structure

Table:simplyrun_rules

Master table to hold configuration for the rules created by admin and/or clients

Table:simplyrun_modules

Modules we have available for rules to be created for (ie. simplyconnect, simplywake, etc)

Table:simplyrun_events

Events / triggers that are ready for use per module (ie: check-in, check-out, etc)

Table:simplyrun_actions

Determines what functions will be run (functions are created within the controller of simplyrun)

Table:simplyrun_action_params

Parameters that should be passed to the functions upon execution