(Optional) Defining a Global XML Schema

You can use the Convert XML to RecordsetClosed The Convert XML to Recordset tool is used to convert XML data into a flat-format BPA Platform recordset, allowing the data to be used by recordset-only consuming tools. This could then be used to power alerts via fax, email, or SMS, create reports, power a workflow, perform FTP transfer, and so on. tool immediately in a task step. However, if the task step consumes a variable containing XML rather than an XML document from a previous task step, you must define a XML schema to validate against. You can choose to define the schema local to the task step only, or create a library of schemas for all Convert XML to Recordset tasks steps to share.

You do this in the Convert XML to Recordset Global Configuration interface. You open this interface from the resources tree — expand System > Tools > Format and double-click Convert XML to Recordset in the items list.

  1. Click Add to add a new XML schema.
  2. You can either import existing XML schema or XML document, or manually create the schema to validate the XML source for the Convert XML to Recordset task step.
  3. Click OK to save the schema.

Adding a New Task Step

To add a new Convert XML to Recordset step to an existing task:

  1. Open the relevant task (if creating a new task, see How to Create a Basic Task).
  2. Either:
Click and drag the Convert XML to Recordset icon from the Task Browser to the task Design area.

–OR–

From the task's Design tab, right-click on empty space and select New > Format > Convert XML to Recordset.
  1. Configure the General tab parameters.
  2. Go to the Main tab and select the XML document to convert.
  3. Go to the Options tab and select the relevant error handling options for this task step.

  4. Click  to save the task step.