<img height="1" width="1" style="display:none;" alt="" src="https://dc.ads.linkedin.com/collect/?pid=287945&amp;fmt=gif">

Implementing data types using the IDataType2 interface

Posted by FlowWright on Sep 20, 2019 9:57:07 AM

FlowWright customers can expand FlowWright’s capabilities as needed!  While FlowWright out-of-the-box includes many system data types you can also build your own data types.

What's a data type? Data type is what gets rendered as a control for an input of a step.

Here's an example:


In the "Decision" step the “Condition to Evaluate” is rendered as a multi-line text control.  In oiur previous versions, controls like this were implemented using the "IDataType" interface.  Now, FlowWright v9.6 is enhanced to use the "IDataType2" interface: powerful context now gets passed into the rendering method.  This context gives you access to the outside world, similar to our interface for implementing workflow steps.

Here's what the "IDataType2" interface looks like:


FlowWright v9.6 is fully backwards compatible: data types implementing using the old interface "IDataType" will still function.  And FlowWright includes built-in validation to detect whether the interface is the old one or the new one.

You will find data type context is powerful and readily expandable to accommodate future functionality requirements.  All new custom data types should be implemented using the new "IDataType2" interface.

Start Software Trial



Topics: v9.6