How can we help?

ODI Expressions

You are here:
< All Topics

Overview

To make use of the ODI, the expressions for the desired features must be assigned to the appropriate machines. Some of these expressions will exist in the system by default.

ODI – Planned Downtime Start without Unknown Downtime

Starts a planned downtime for the specified downtime code as long as the current status is not Unknown Downtime.

Expression:

([Listener.data] = [PCSDB.SI_Planned_DT_Start]{identifier.any}) AND ([PCSDB.general_equipment_status] != [PCSDB.UNKNOWN_DOWNTIME])

Result:

[PCSDB.send_planned_DT_start] {Listener.data{identifier.specific}}

ODI – Unplanned Downtime Start without Unknown Downtime

Starts an unplanned downtime for the specified downtime code as long as the current status is not Unknown Downtime.

Expression:

([Listener.data] = [PCSDB.SI_Unplanned_DT_Start]{identifier.any}) AND ([PCSDB.general_equipment_status] != [PCSDB.UNKNOWN_DOWNTIME])

Result:

[PCSDB.send_unplanned_DT_start] {Listener.data{identifier.specific}}

These second two expressions are the replacements which will execute if the current status is unknown downtime, and will backfill to when the unknown downtime started. This basically automates the Modify Time Stamp → Current functionality. If the equipment is in an unknown downtime the variable [PCSDB.Unknown_Downtime_Start_Time] will hold the time stamp when the unknown downtime started. Now, the Historical variables can be used along with this new variable to backfill the unknown downtime.

ODI – Planned Downtime Start with Unknown Downtime Backfill

Starts a planned downtime for the specified downtime code and backfills the previous unknown downtime.

Expression:

([Listener.data] = [PCSDB.SI_Planned_DT_Start]{identifier.any}) AND ([PCSDB.general_equipment_status] = [PCSDB.UNKNOWN_DOWNTIME])

Result:

[PCSDB.send_planned_DT_start_historical] {Listener.data{identifier.specific},[PCSDB.Unknown_Downtime_Start_Time]}

ODI – Unplanned Downtime Start with Unknown Downtime Backfill

Starts an unplanned downtime for the specified downtime code and backfills the previous unknown downtime.

Expression:

([Listener.data] = [PCSDB.SI_Unplanned_DT_Start]{identifier.any}) AND ([PCSDB.general_equipment_status] = [PCSDB.UNKNOWN_DOWNTIME])

Result:

[PCSDB.send_unplanned_DT_start_historical] {Listener.data{identifier.specific},[PCSDB.Unknown_Downtime_Start_Time]}

ODI Work Order Expressions

ODI Work Order Start

Expression:

([Listener.data] = [PCSDB.WI_wo_start]{data.any})

Result:

[PCSDB.send_wo_start]{[Listener.data]{data.specific}}

ODI Work Order End (de-activate)

Expression:

([Listener.data] =[PCSDB.WI_wo_end]{data.any})

Result:

[PCSDB.send_wo_end]

ODI Work Order Close

Expression:

([Listener.data] =[PCSDB.WI_wo_closed]{data.any})

Result:

[PCSDB.send_wo_closed]{[Listener.data]{data.specific}}

ODI Work Order Confirm Parts

Expression:

([Listener.data] =[PCSDB.WI_wo_confirmed_part_counts]{data.any})

Result:

[PCSDB.send_wo_confirmed_part_counts]{[Listener.data]{data.specific}}

ODI Work Order Modify Build Quantity

Expression:

([Listener.data] =[PCSDB.WI_wo_build_qty]{data.any})

Result:

[PCSDB.send_wo_build_qty]{[Listener.data]{data.specific}}

Manually start users

Expression:

((|'[Listener.data]'|) = ([PCSDB.UI_user_start] {logged_in_user}))

Result:

[PCSDB.send_user_start] {[Listener.data]{dx_user}}

Manually End users

Expression:

((|'[Listener.data]'|) = ([PCSDB.UI_user_end] {logged_in_user}))

Result:

[PCSDB.send_user_end] {[Listener.data]{dx_user}}

Login User Automatically

Expression:

((|'[Listener.data]'|) = [PCSDB.UI_user_start] {logged_in_user})

Result:

[PCSDB.send_user_start] {[Listener.data]{logged_in_user}}

Log out User Automatically

Expression:

((|'[Listener.data]'|) = [PCSDB.UI_user_end] {logged_in_user})

Result:

[PCSDB.send_user_end] {[Listener.data]{logged_in_user}}

Table of Contents