![]()
Instandhaltungssoftware für Industrie, Versorger und Windkraft
How can the responsible plant management be automatically identified and assigned as the responsible person when creating new tasks?
In GS-Service, automatic task assignment can be controlled via a background script. The script is called gg_AufgabenSkript and does two things: It finds the responsible user via the object client. And it assigns this user as the responsible party for the task. This ensures responsibility is established at the time of creation. This saves manual work and ensures consistent processes.
When creating tasks, the responsible person must be reliably determined. Automatic task assignment prevents tasks from being created without a responsible party during manual entry. This often leads to additional processing effort and ambiguities regarding responsibility.
The GreenGate solution automates assignment via a standardized creation script. If a new task is created from a corresponding task definition, gg_AufgabenSkript determines the client to which the associated object is assigned. Within this client, the user designated for plant management is identified and automatically entered as the responsible person for the task. Responsibility is thus already assigned when the newly created task is opened.
The solution is suitable across industries for organizations, where tasks are created client-specifically and assigned to a responsible plant management or a comparable responsible role.
As an example application, the automatic responsibility assignment can be used when creating a new task. The task is automatically created based on a defined task definition.
The creation script gg_AufgabenSkript is stored for the task definition. The script then runs automatically in the background for every task created from this definition.
When a new task is created, the script first determines the client to which the associated object is assigned. Subsequently, a user named “Werksleitung” (Plant Management) is searched for within this client. If this user is found, they are automatically assigned as the responsible person for the newly created task.
When the task is subsequently opened, the responsibility field is already filled. Manual assignment by the user is therefore not required. The automatic determination occurs exclusively during the creation of the task. If the task is processed at a later time, the responsibility is not automatically determined or set again. If the user defined in the script cannot be found in the respective client, the responsibility field of the task remains empty. In this case, the responsible person must be entered manually.
For use with other customers or in other system environments, the script must be adapted. In particular, the name of the responsible user stored in the script must be adjusted to the respective customer-specific user and organizational structure.
This procedure ensures that newly created tasks are immediately assigned to a defined responsible person. At the same time, client-dependent responsibility is automatically taken into account, and the manual effort for task creation is reduced.
KANN GmbH Building Materials