Child pages
  • How to Customize the Bugs Workflow

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

File structure

Workflow.xml file describes workflow actions (tag action). To simplify definitions of the actions it allows to define action conditions (tag condition).
To get know how to refer to field or enumeration value identifier user may copy query from Query Builder.Deskzilla application allows users to customize the issues workflow by defining a set of actions which can be applied to an issue or a number of issues.

The actions (such as, for example, Resolve As, Reassign, Close, etc) are defined in the XML file and can be accessed through the Workflow combo box on the Issue Toolbar. Below is the explanation of the XML file structure, which will allow you to create new actions and modify the existing ones.

File structure

To define actions a set of tags is used. See below for detailed explanation.

Conditions

Anchor
conditions
conditions

Issues must meet specific conditions to be eligible for the action. These conditions are defined using the condition element.

Code Block
xml
xml
title"Sample condition"
<condition>
  <name>Open</name>
  <filter>status in (UNCONFIRMED NEW ASSIGNED REOPENED)</filter>
</condition>

The Condition element has two child tags ( both of which are mandatory):

  • name defines a the name of the condition to refer to it by which it can be referred to later
  • filter is a defines the condition itself. The syntax is same as used in the Query Builder . So to build so the condition one can copy-paste it from Query Builder.can be created in the Query Builder and then copied to the XML.
    Tip

    The Workflow.xml file uses the same syntax as the Query Builder for conditions definition, so the statements can be created in the Query Builder and then copied to the XML file.

Actions

Code Block
xml
xml
title"Sample action"
<action>
  <name>Resolve As</name>
  <condition>Open</condition> <!-- <filter>status in (UNCONFIRMED NEW ASSIGNED REOPENED)</filter> -->
    <set>
      <!-- action script -->
    </set>
</action>

...