OTRS API Reference JavaScript

Namespace: Core.Agent.Admin.ProcessManagement

Core.Agent.Admin. ProcessManagement

This namespace contains the special module functions for the ProcessManagement module.
Author:
  • OTRS AG

Namespaces

Canvas

Members

(static) ProcessData :Object

Structure to save all process data.
Type:
  • Object

(static) ProcessLayout :Object

Structure to save all layout data for the process.
Type:
  • Object

Methods

(static) GetConditionConfig($Conditions) → {Object}

Get all conditions and corresponding fields.
Parameters:
Name Type Description
$Conditions jQueryObject Conditions element in DOM.
Returns:
Conditions and fields.
Type
Object

(static) HandlePopupClose()

Close overlay and re-initialize canvas and accordion.

(static) HideOverlay()

Closes overlay and restores normal view.

(static) Init()

This function initializes the module functionality.

(static) InitAccordionDnD()

Initializes all event handler to drag and drop elements from the accordion to the canvas.

(static) InitActivityDialogEdit()

Initialize activity dialog edit screen.

(static) InitActivityEdit()

Initialize activity edit screen.

(static) InitConfigParameter()

Initialize the module configuration fields and actions.

(static) InitModuleConfiguration()

Initialize activity / sequence flow action module configuration screen.

(static) InitPathEdit()

Initialize path edit screen.

(static) InitProcessEdit()

Initialize process edit screen.

(static) InitSequenceFlowActionEdit()

Initialize sequence flow action edit screen.

(static) InitSequenceFlowEdit()

Initialize sequence flow edit screen.

(static) InitWidgetsByActivityType()

Shows the correct widget according to the selected activity type while creating/adding a new activity.

(static) ShowOverlay()

Opens overlay.

(static) UpdateAccordion()

Update accordion data from server.

(static) UpdateConfig(Config) → {Boolean}

Update gloabl process config object after config change e.g. in popup windows.
Parameters:
Name Type Description
Config Object
Returns:
Returns false, if Config is not defined.
Type
Boolean

(static) UpdateScreensPath(WindowObject, Callback)

Updates screen path.
Parameters:
Name Type Description
WindowObject Object
Callback function

(static) UpdateSyncMessage()

Check if there is a 'dirty' sync state and show a message below the header.