11-20-2013 02:58 AM
In our application we use extensive validations using the Traffic Script rules. To simply the functionality we are planning to define things as packages so that they can be re-used in multiple traffic script rules.
Define a perl package for a particular functionality which returns the output
Rule 1 - Extract data, call the function get the return value then further proceed with other functions based on return value
Rule 2 - Do something else
Rule 3 - call the function again with different inputs and do validations on the returned value
Is this something feasible using the traffic script rules?
Any thoughts on how this can be achieved
Solved! Go to Solution.