Work Order Functions

< All Topics

WORKORDER

{{ WORKORDER(id) }}

{{ WORKORDER(name) }}

{{ WORKORDER(reference) }}

{{ WORKORDER(createdDate) }}

{{ WORKORDER(createdDate, dd/MM/yy) }}

{{ WORKORDER(startedDate) }}

{{ WORKORDER(startedDate, dd/MM/yy) }}

{{ WORKORDER(finishedDate) }}

{{ WORKORDER(finishedDate, dd/MM/yy) }}

{{ WORKORDER(requiredDate) }}

{{ WORKORDER(requiredDate, dd/MM/yy) }}

{{ WORKORDER(status) }}

{{ WORKORDER(COST) }}

{{ WORKORDER(external_data_fieldname) }}

Inserts the specified work order metadata. Requires the workflow to have been triggered by a Work Order in order to function.

WORKORDER_ITEM

{{ WORKORDER_ITEM(assetId) }}

{{ WORKORDER_ITEM(order) }}

{{ WORKORDER_ITEM(COST) }}

{{ WORKORDER_ITEM(external_data_fieldname) }}

{{ WORKORDER_ITEM(ASSET, ASSET_TITLE) }}

{{ WORKORDER_ITEM(ASSET, FILE, sizeInBytes, gb) }}

{{ WORKORDER_ITEM(WORKORDER, reference) }}

Inserts the specified work order item metadata. The work order metadata can be accessed by passing ‘WORKORDER’ as the first argument. The remaining arguments correspond to the work order metadata. Similarly, ‘ASSET’ allows asset metadata to be inserted by passing in the corresponding arguments.

WORKORDER_SERVICE

{{ WORKORDER_SERVICE(order) }}

{{ WORKORDER_SERVICE(requestType) }

{{ WORKORDER_SERVICE(startedDate) }}

{{ WORKORDER_SERVICE(startedDate, dd/MM/yy) }}

{{ WORKORDER_SERVICE(finishedDate) }}

{{ WORKORDER_SERVICE(finishedDate, dd/MM/yy) }}

{{ WORKORDER_SERVICE(status) }}

{{ WORKORDER_SERVICE(additionalStatus) }}

{{ WORKORDER_SERVICE(COST) }}

{{ WORKORDER_SERVICE(external_data_fieldname) }}

{{ WORKORDER_ITEM(ASSET, ASSET_TITLE) }}

{{ WORKORDER_SERVICE(ASSET, FILE, sizeInBytes, gb) }}

{{ WORKORDER_SERVICE(WORKORDER, reference) }}

{{ WORKORDER_SERVICE(WORKORDER_ITEM, order) }}

Inserts the specified work order service request metadata. Requires the workflow to have been triggered by a Work Order in order to function. The work order or work order item metadata can be accessed by passing ‘WORKORDER’ or ‘WORKORDER_ITEM’ as the first argument. The remaining arguments correspond to the work order or work order item metadata. Similarly, ‘ASSET’ allows asset metadata to be inserted by passing in the corresponding arguments.