serviceup.png

Custom Module UpdatePriorityByDFMultiply

This generic agent updates the priority of the ticket, after multiplying the keys ​​of the configured suspended dynamic fields.

Configuration

CustomModuleGenericAgent::UpdatePriorityByDFMultiply::DynamicFieldsToMultiply

Inform the names of the dynamic fields that will have their keys ​​multiplied. Example: enter image description here

CustomModuleGenericAgent::UpdatePriorityByDFMultiply::PriorityAndTotalValue

Inform the limit value for the value of the multiplication of the fields and the name of the priority to be set. Example: enter image description here

Run

Custom module:

Kernel::System::GenericAgent::UpdatePriorityByDFMultiply::UpdatePriorityByDFMultiply

Add the desired event.

The generic agent will multiply the keys ​​of the dynamic fields of the configuration "DynamicFieldsToMultiply" and check which priority of the configuration "PriorityAndTotalValue" the value fits.