123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- CoreWorkflow.create_if_not_exists(
- name: 'base - hide pending time on non pending states',
- object: 'Ticket',
- condition_saved: {
- 'custom.module': {
- operator: 'match all modules',
- value: [
- 'CoreWorkflow::Custom::PendingTime',
- ],
- },
- },
- perform: {
- 'custom.module': {
- execute: ['CoreWorkflow::Custom::PendingTime']
- },
- },
- changeable: false,
- created_by_id: 1,
- updated_by_id: 1,
- )
- CoreWorkflow.create_if_not_exists(
- name: 'base - show secondary organization based on user',
- object: 'Ticket',
- condition_saved: {
- 'custom.module': {
- operator: 'match all modules',
- value: [
- 'CoreWorkflow::Custom::SecondaryOrganization',
- ],
- },
- },
- perform: {
- 'custom.module': {
- execute: ['CoreWorkflow::Custom::SecondaryOrganization']
- },
- },
- changeable: false,
- created_by_id: 1,
- updated_by_id: 1,
- )
- CoreWorkflow.create_if_not_exists(
- name: 'base - admin sla options',
- object: 'Sla',
- condition_saved: {
- 'custom.module': {
- operator: 'match all modules',
- value: [
- 'CoreWorkflow::Custom::AdminSla',
- ],
- },
- },
- perform: {
- 'custom.module': {
- execute: ['CoreWorkflow::Custom::AdminSla']
- },
- },
- changeable: false,
- created_by_id: 1,
- updated_by_id: 1,
- )
- CoreWorkflow.create_if_not_exists(
- name: 'base - core workflow',
- object: 'CoreWorkflow',
- condition_saved: {
- 'custom.module': {
- operator: 'match all modules',
- value: [
- 'CoreWorkflow::Custom::AdminCoreWorkflow',
- ],
- },
- },
- perform: {
- 'custom.module': {
- execute: ['CoreWorkflow::Custom::AdminCoreWorkflow']
- },
- },
- changeable: false,
- created_by_id: 1,
- updated_by_id: 1,
- )
- CoreWorkflow.create_if_not_exists(
- name: 'base - show reopen_time_in_days',
- object: 'Group',
- condition_saved: {},
- condition_selected: { 'group.follow_up_possible'=>{ 'operator' => 'is', 'value' => ['new_ticket_after_certain_time'] } },
- perform: { 'group.reopen_time_in_days'=>{ 'operator' => 'show', 'show' => 'true' } },
- preferences: { 'screen'=>%w[create edit] },
- changeable: false,
- active: true,
- created_by_id: 1,
- updated_by_id: 1,
- )
- CoreWorkflow.create_if_not_exists(
- name: 'base - ticket duplicate detection with same attributes',
- object: 'Ticket',
- condition_saved: {
- 'custom.module': {
- operator: 'match all modules',
- value: [
- 'CoreWorkflow::Custom::TicketDuplicateDetection',
- ],
- },
- },
- perform: {
- 'custom.module': {
- execute: ['CoreWorkflow::Custom::TicketDuplicateDetection']
- },
- },
- changeable: false,
- created_by_id: 1,
- updated_by_id: 1,
- )
- CoreWorkflow.create_if_not_exists(
- name: 'base - ticket time accouting check',
- object: 'Ticket',
- condition_saved: {
- 'custom.module': {
- operator: 'match all modules',
- value: [
- 'CoreWorkflow::Custom::TicketTimeAccountingCheck',
- ],
- },
- },
- perform: {
- 'custom.module': {
- execute: ['CoreWorkflow::Custom::TicketTimeAccountingCheck']
- },
- },
- changeable: false,
- priority: 99_999,
- created_by_id: 1,
- updated_by_id: 1,
- )
- CoreWorkflow.create_if_not_exists(
- name: 'base - remove current and child groups from parent id',
- object: 'Group',
- condition_saved: {
- 'custom.module': {
- operator: 'match all modules',
- value: [
- 'CoreWorkflow::Custom::AdminGroupParentId',
- ],
- },
- },
- perform: {
- 'custom.module': {
- execute: ['CoreWorkflow::Custom::AdminGroupParentId']
- },
- },
- changeable: false,
- created_by_id: 1,
- updated_by_id: 1,
- )
- CoreWorkflow.create_if_not_exists(
- name: 'base - show group list for agents',
- condition_saved: {
- 'custom.module': {
- operator: 'match all modules',
- value: [
- 'CoreWorkflow::Custom::AdminShowGroupListForAgents',
- ],
- },
- },
- perform: {
- 'custom.module': {
- execute: ['CoreWorkflow::Custom::AdminShowGroupListForAgents']
- },
- },
- changeable: false,
- created_by_id: 1,
- updated_by_id: 1,
- )
|