Inline scripts should be used to set and modify input values during the configuration of an action or flow. They are typically used to modify input values that require small format conversions, data transformations, or math operations. The presence of many lines of code in an inline script indicates that it is being used to implement complex logic which would be more appropriate for a Business Rule or Script include. The rule is configured to trigger for a default value of 10 lines of code, but this can be modified to suit your development standards.