Last active
August 29, 2015 14:16
-
-
Save rushfrisby/ac4aedf49ec4b1270c9e to your computer and use it in GitHub Desktop.
RulePlex JavaScript Rule "Compiled"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ExecuteRules(data) | |
{ | |
(function Rule004596ed979540878bc366521663501d(data) | |
{ | |
var sw004596ed979540878bc366521663501d = new Stopwatch(); | |
sw004596ed979540878bc366521663501d.Start(); | |
var result004596ed979540878bc366521663501d = new Result(); | |
result004596ed979540878bc366521663501d.RuleId = Guid.Parse("004596ed-9795-4087-8bc3-66521663501d"); | |
try | |
{ | |
result004596ed979540878bc366521663501d.PassedCondition = (function Condition004596ed979540878bc366521663501d(data) | |
{ | |
return true; | |
})(data); | |
if (result004596ed979540878bc366521663501d.PassedCondition) | |
{ | |
result004596ed979540878bc366521663501d.Value = (function ActionResult004596ed979540878bc366521663501d(data) | |
{ | |
return JSON.stringify(true); | |
})(data); | |
result004596ed979540878bc366521663501d.Error = null; | |
} | |
} | |
catch (ex004596ed979540878bc366521663501d) | |
{ | |
result004596ed979540878bc366521663501d.Value = null; | |
result004596ed979540878bc366521663501d.Error = ex004596ed979540878bc366521663501d.name + ": " + ex004596ed979540878bc366521663501d.message; | |
} | |
sw004596ed979540878bc366521663501d.Stop(); | |
result004596ed979540878bc366521663501d.ExecutionTime = sw004596ed979540878bc366521663501d.ElapsedMilliseconds; | |
__results.Add(result004596ed979540878bc366521663501d); | |
})(data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment