Data Event

This content applies to legacy design tools (such as K2 Studio, K2 for Visual Studio, or the Silverlight-based K2 workflow design tool). If you have upgraded from K2 blackpearl 4.7 to K2 Five, these tools may still be available in your environment. These legacy tools may not be available in new installations of K2 Five. These legacy tools may also not be available, supported, or behave as described, in future updates or versions of K2. Please see the legacy component support policy for more information about support for these components.

What does the Data Event do?

The Data Event wizard works together with other K2 Integration wizards where data retrieval, manipulation and transfer is required. To use the wizard within a process, the process must already have some form of integration in place - for example InfoPath or SharePoint integration. The the data source must be able to provide an XML schema. The schema is used by the data wizard to retrieve, manipulate and transfer between source and destination.

Why use the Data Event wizard?

The Data Event wizard is intended for applications where the need exists to extract data from XML and XSLT documents to either transfer the data as is to a new location for storage, or transform the data into a new document. The wizard requires an XML based input which can be sourced from the XML data of an InfoPath form, a SmartObject or any data source that can provide an XML data structure.

Usage of the XML modes in this wizard requires a working knowledge of XML and XSLT as applied in the use of complex data structure provided by forms such as InfoPath and data objects such as SmartObject.

Using XML

Recommend reading:
https://w3schools.com/xml/default.asp
https://www.w3schools.com/xml/xsl_intro.asp
https://www.w3schools.com/xml/xpath_intro.asp
https://www.w3schools.com/xml/schema_intro.asp

Using the Data Event wizard

The Data Event wizard is available from the K2 Toolbox. To load the Data Event onto the canvas, click and drag the item onto the design canvas.