Webinar: Bridging IT–OT Gaps: OT-Led Data Transformation in Action

Custom Logic in Liquid Pipeline SCADA Needs Lifecycle Ownership

Custom logic is often where a liquid pipeline SCADA environment becomes most useful.

It is also where the environment can become hardest to support.

Inside AVEVA Enterprise SCADA, custom scripts, REFLEX logic, Action Sequence logic, Advanced Calculation Engine (ACE) logic, Application Programming Language (APL) logic, and other SCADA-related programs can play important operational roles.

REFLEX is an advanced logic processor capability used to support configured SCADA actions and logic. Alongside Action Sequence logic, ACE logic, APL logic, and custom scripts, these programs may support calculations, automate actions, connect workflows, handle exceptions, or adapt the system to the realities of the pipeline.

That is not the problem.

The problem begins when the organization no longer has a clear answer to five practical questions:

What does the logic do?

Why does it exist?

When does it affect operations?

Who owns it?

How is it validated and sustained?

If custom logic influences pipeline decisions, it should not depend on memory, assumptions, or informal support paths. It needs lifecycle ownership.

Custom Logic Usually Starts for the Right Reasons

Most custom logic is created to solve a real operational problem.

A batch movement needs to be represented more clearly. A tanking process needs a specific calculation. A pressure-flow condition needs additional logic. An operator action needs to be streamlined. An interface needs help interpreting or passing information. A report needs to reflect how teams actually review activity.

In those moments, custom logic can be practical and valuable.

It helps close the gap between standard system functionality and the way the pipeline is actually operated. It can reduce manual work, improve consistency, and make the SCADA environment more useful to the control room.

The risk usually appears later.

Years pass. People move roles. Operating practices change. Assets are modified. Interfaces are updated. Reports are revised. A modernization project begins. A support issue appears.

Then someone asks a simple question:

Should this logic still behave this way?

That question can be difficult to answer if the logic was never documented in operational terms.

The Risk Is Context Loss, Not Customization

Custom logic does not automatically create risk.

Unclear custom logic does.

A script may still run, but the team may not fully understand the assumption behind it. A routine may support an important action, but ownership may be unclear. An Action Sequence may reflect an old operating practice. ACE logic may calculate correctly in one condition but require review in another. APL logic may remain in place because everyone assumes it is still needed.

The logic may continue to behave normally until the operating context changes.

During a batch transition, custom logic may influence what an operator sees or how an action is triggered. During a tank movement, it may affect calculations, alarms, or reporting outputs. During a pressure-flow change, it may shape how behaviour is interpreted. During an interface update, it may create uncertainty around whether the issue sits in the logic, the configuration, the data, or the downstream system.

That is why context matters.

The organization needs to understand not only that the logic runs, but what role it plays in the operating model.

Modernization Exposes Logic That Was Never Fully Governed

Custom logic often becomes more visible during modernization, migration, commissioning, or sustainment planning.

A migration may carry forward a custom program because it existed in the previous environment. A modernization project may recreate logic without challenging whether the original reason still applies. A commissioning test may confirm that the routine executes, but not whether the behaviour still supports current operating needs.

That creates a practical risk for SCADA and Engineering leaders.

If the team cannot explain custom logic before a change event, it may be forced to investigate that logic during the change event. That is a harder environment for clear decision-making.

Operators need the system to behave predictably. Engineering needs to isolate issues quickly. Support teams need to know whether unexpected behaviour is related to configuration, logic, timing, data quality, an interface dependency, or an inherited operating assumption.

The best time to review custom logic is before the next change makes it urgent.

Execution Is Not Validation

One of the most common traps with custom logic is treating successful execution as proof of readiness.

If the script runs, the routine executes, or the action sequence completes, the logic can appear acceptable.

But execution only proves that the logic ran.

It does not prove that the logic still supports the right operating outcome.

A stronger review asks:

  • What operating condition is this logic designed to support?
  • Which screens, reports, alarms, interfaces, or actions does it affect?
  • What assumptions were built into it?
  • Has the operating model changed since it was created?
  • How should it behave during batch transitions, tank movements, pressure-flow changes, or DRA-related conditions?
  • Who approves changes to it?
  • How will operators and support teams know when behaviour is unexpected?


These questions help move custom logic from technical artifact to governed operational asset.

What Strong Custom Logic Ownership Looks Like

Strong lifecycle ownership does not mean eliminating custom logic.

That would be unrealistic in many industrial SCADA environments.

The better goal is to make important logic understandable, supportable, and aligned with current operations.

That starts with an inventory. Leaders should know which scripts, routines, action sequences, calculations, and custom programs exist, where they are used, and which operational functions they support.

It also requires ownership. Custom logic should have a clear support path, change approval process, and review responsibility.

Documentation should explain purpose and behaviour, not only technical syntax. The team should understand what the logic supports, what it depends on, when it runs, what outputs it affects, and what conditions may require review.

Validation should confirm operational behaviour. It should test the logic against the conditions that matter most, such as batch transitions, tank movements, pressure-flow changes, drag-reducing agent-related conditions, interface updates, commissioning scenarios, and abnormal events.

Training should connect the logic to use. Operators do not need to understand every technical detail, but they do need to understand what the application behaviour means. Engineering and support teams need enough context to investigate issues without starting from scratch.

Where Leaders Should Look First

A custom logic review should start where operational dependency is highest.

Priority areas often include:

  • Batch tracking, tanking, or pressure-flow functions where custom rules influence how operators interpret movement, inventory, or hydraulic behaviour
  • Scheduling or leak detection interfaces that depend on custom routines to prepare, pass, transform, or interpret information
  • Automated sequences or operator actions where the logic influences what happens next in the control room
  • Reports or calculations that rely on custom assumptions, formulas, timing, or exception handling
  • Legacy routines brought forward from a previous environment without a clear review of whether the original purpose still applies
  • Programs understood by only one or two people, especially when support depends on individual memory rather than documented ownership
  • Custom logic that has not been revisited since an asset change, operating change, interface update, or modernization effort
  • Areas that repeatedly create questions during support, commissioning, sustainment work, or post-change troubleshooting


The objective is not to create unnecessary documentation work.

The objective is to identify which logic carries operational importance and which areas need clearer ownership, validation, or lifecycle review.

If custom logic is moved, copied, modified, or sustained without that understanding, the organization may preserve old uncertainty in a newer environment.

A Better Path Starts With Purpose, Dependency, and Ownership

The strongest custom logic environments are not necessarily the simplest.

They are the ones where important logic is understood.

For SCADA and Engineering leaders, three questions create a useful starting point:

What purpose does this logic serve?

What does it depend on?

Who owns it over time?

Those questions make the work practical.

If logic supports an operational decision, the purpose should be clear. If it affects an interface, report, operator display, calculation, or automated action, the dependency should be visible. If it needs to change, the ownership path should be known before the issue reaches the control room.

This is where Dexcent’s Strategize, Transform, Evolve approach supports the work.

In the Strategize phase, Dexcent helps teams identify where custom logic exists, what it supports, which dependencies matter, and where lifecycle risk may be building. In the Transform phase, that understanding can guide configuration, migration, validation, interface work, reporting updates, commissioning, and hands-on training. In the Evolve phase, custom logic can be sustained through documentation, governance, support practices, and periodic review as operations change.

The outcome is a clearer view of which logic is essential, which assumptions need review, which dependencies require validation, and which support paths should be strengthened before the next change event.

Custom Logic Should Not Become Tribal Knowledge

Custom logic can be one of the most valuable parts of a liquid pipeline SCADA environment.

But value depends on clarity.

If logic is documented, owned, validated, and sustained, it can help the system reflect how operations actually work. If it is left to memory, inherited assumptions, or informal support paths, it can become a source of uncertainty at the moments when the control room needs confidence.

For SCADA and Engineering leaders, the opportunity is to review custom logic before the next migration, commissioning event, interface change, or sustainment issue forces the question.

If your team relies on custom scripts, REFLEX logic, Action Sequence logic, ACE logic, APL logic, or other SCADA-related programs, Dexcent’s eBook, When Liquid Operations Apps Become the Operational Risk, is a practical next step. It explores where risk can hide inside AVEVA Enterprise SCADA Liquids Operations Apps and what leaders can review to strengthen operational confidence.

If the guide raises questions about your current environment, talk to Dexcent about a focused Liquids Operations Apps readiness conversation. It can help your team understand which custom logic is supporting operations, which logic needs closer review, and what should be addressed before the next change event.

Sarah Burghardt

CPHR President

Read Bio

Sarah Burghardt is the President of Dexcent, responsible for the day-to-day leadership of the organization, enabling strong execution across teams and delivering exceptional value to customers. With a track record of building high-performing teams and strengthening delivery capability, she has been an integral part of Dexcent’s growth and evolution. Sarah is known for a leadership style grounded in authenticity, clarity, and collaboration, consistently embodying Dexcent’s core values of Integrity, Care, and Excellence. She brings experience spanning executive leadership, consulting, and business operations, helping organizations align people and priorities to achieve meaningful outcomes. 

Andrew Capper

Vice President of Industrial Digital Transformation

Read Bio

Andrew Capper is Vice President of Industrial Digital Transformation at Dexcent, helping industrial organizations improve data-driven decision-making by optimizing the data journey, reuniting siloed information, and delivering a trustworthy version of the truth.

With more than 25 years of experience, he is known as a results-driven leader who delivers on commitments and tackles complex information management challenges with a practical, human-centric approach. His work spans digital transformation strategy and roadmaps, governance, digital maturity assessments, and performance measurement through clear KPIs and metrics. Andrew is a NAIT graduate with training in Instrumentation Engineering Technology and Security Systems, and he brings a strong focus on safer, more effective operations from data producers through to data consumers

Nader Asgharinia

MP, P.Eng.

Vice President of Enterprise SCADA & Advanced Applications.

Read Bio

Nader Asgharinia, PMP, P.Eng., is Vice President of Enterprise SCADA & Advanced Applications at Dexcent, leading the delivery of complex, mission-critical solutions with a clear focus on client experience and operational excellence. With more than 30 years in business execution and over 25 years managing multi-million-dollar programs for mission-critical and SCADA systems, he brings a pragmatic, delivery-at-scale approach to every engagement. Nader is recognized for building high-performing teams, driving disciplined portfolio execution, and delivering measurable business outcomes, including significant growth in program portfolios and team capacity over time. He holds a B.Sc.(Hons.) in Electrical and Electronics Engineering from the University of Newcastle-Upon-Type in the UK, a B.Sc. in Computer Science from the University of Calgary, completed Georgetown University’s Director’s Program, is a Professional Engineer in Alberta, and a Project Management Professional.

Gerrit Nel

CISSP, CISM – Vice President of OT Infrastructure and Cyber Security Services

Read Bio

Tobias (Gerrit) Nel, CISSP, CISM, is Vice President of OT Infrastructure and Cyber Security Services at Dexcent, leading the development and delivery of practical services and solutions that integrate, complement, or replace OT infrastructure and protect OT assets from cyber threats. He is known for building resilient security frameworks, governance processes, and integrated solutions that reduce risk and support compliance across diverse industries. Gerrit has over 40 years of relevant IT/OT experience and has built and delivered highly skilled and high-performance delivery teams. His strengths include Cyber Security roadmaps, security architecture, incident response, and alignment to standards such as IEC 62443, NIST, and NERC CIP. Furthermore, he has deep foundational technical experience in Networking and OT infrastructure systems architectures that he leverages in building and leading successful delivery teams. Gerrit holds a B.Sc. in Computer Science from the University of Johannesburg and brings deep cross-sector experience supporting clients in oil and gas, mining, chemical, healthcare, financial, and government environments.

Jaydeep Deshpande

P.Eng. – Chief Strategy Officer (CSO)

Read Bio
Jaydeep Deshpande, P.Eng., is Chief Strategy Officer at Dexcent, where he helps shape the company’s future by connecting strategy, innovation, and execution. Having led Dexcent as President for six years, he combines 28 years of experience with a deep understanding of what it takes to scale a business while staying true to its culture and purpose.
 
Known for his people-first leadership and ability to navigate complex transformation, Jaydeep plays a central role in advancing Dexcent’s strategic priorities, strengthening key relationships, and unlocking new growth opportunities. He brings a disciplined yet human approach to change, aligning teams, accelerating growth, and ensuring the organization evolves with clarity and intent. He is passionate about building strong teams, fostering a culture grounded in integrity, care, and excellence, and positioning Dexcent to create lasting value for its customers, people, and partners.
 
He holds a Bachelor of Science in Engineering from the University of Alberta, is a Prosci Certified Change Practitioner and a Project Management Professional (PMP), and completed the CMA Accelerated Accounting Program, complemented with more than 20 years of financial management expertise.

Karim Amarshi

Chairman of the Board

Read Bio

Karim Amarshi is Chair of Dexcent’s Board of Directors, providing governance leadership and strategic oversight to support the company’s long-term strategy and executive team. With nearly 40 years as an entrepreneur and owner-operator, he is recognized for building high-performance organizations and forging strategic alliances across Information Technology, government, health care, education, and energy. He is the former co-owner and Chief Executive Officer of one of Canada’s leading enterprise Information Technology solution providers, where he led the organization through three successful mergers and helped scale long-term client and vendor partnerships. Karim remains active across a diverse business portfolio, serving as a founding principal, officer, and advisor to organizations spanning Information Technology, hospitality, manufacturing, retail, and real estate in Canada and internationally.

Yasmin Jivraj

FCIPS, I.S.P. | Board Member

Read Bio

Yasmin Jivraj, FCIPS, I.S.P., is a Board Member at Dexcent, providing executive guidance and strategic oversight to support corporate management and long-term business direction. Over a 35-year career, she has held senior leadership roles across private, public, and non-profit organizations, with a track record of building operating foundations and driving profitable growth. Following a 15-year tenure as a co-owner and President of one of Canada’s leading strategic Information Technology solution providers, she expanded her governance leadership through active board service in post-secondary education and community-focused organizations. She is recognized for decisive, purpose-led leadership, clear communication, and deep expertise in technology, business models, and methodologies that help enterprise organizations advance digital transformation.

Nadir Jivraj

CEO, Board Member

Read Bio

As Chief Executive Officer, Nadir is accountable for providing overall leadership and Dexcent’s Industrial operational performance. Nadir has been involved as an executive sponsor with Oil & Gas and Mining companies for over 35 years, and through the years has developed a strong working relationship with the Executive leadership team of many Fortune 500 companies.

Nadir is known for recognizing value and superior investment opportunities in the technology services sector. His pursuit of highly prospective technology companies around the world has resulted in numerous company start-ups. Prior to starting Dexcent, Nadir had led companies through highly profitable business transactions, including the merger of Atlas Systems Group with CompCanada (later renamed Acrodex) in 2000 and later as Chairman of the Board of Axcend Pvt – an engineering solutions provider – based in Bangalore, India from 2004 – 2014. Acrodex and Axcend were sold in 2015