XML node is a data source node used when the input to a task is an XML file. It works mostly like CSV Node. The XML Data node expects the source file to be under the root element.

  1. Designing a Task Using an XML Node:
  2. Do the following to use an XML node in a task:
    1. Use an existing task or create a new task based on the requirement.
      Note: Refer Create A Task for more details on how to create a task and how to open an existing task.
    2. Drag and drop the XML node from the Objects -> Data Sources section and connect the nodes.

    3. Click on the XML node and specify the properties:

      • Name: Name of the node. A default name is displayed in this field, which the user can edit according to the task and the intent of using the node.
      • Description: A short note on the purpose of the node.
      • Mark run Failure on Node Fail: When the Mark run Failure on Node Fail field is ON, if the node execution fails then the complete task execution is marked as fail.
      • XML: Name of the XML file to choose from the selected source in the Read XML From:. Click the eye symbol in the XML field to show the XML data in the selected file. It is possible to filter the data in the XML file by typing the filters in the column headers.

        Refer Adding an XML file to Jiffy’s Repository section for more details.
      • Remove blank attributes: When this is turned ON, it removes all the blank attributes in the selected XML file.
      • Iterate on this node’s output?: When this is turned ON, the task will iterate on the XML node’s output.
    4. Click on the Trial Run icon to run the task.

    5. Click on the Book icon above the XML Data node to display the Result of execution window of the XML Data node.

  3. Adding an XML file to Jiffy’s Repository:
    1. Log in to Jiffy.
    2. Navigate to the Templates section on the left-hand side.
    3. Select the XML Data option.

    4. Click on the +Add XML File button.

    5. Type the details and click on the Select file button to upload the file.

    6. Click on the Save/Upload button to save the file.

    7. To view the file, click on the View XML button.

    8. Click on the Show XML Raw Data button in the XML File window to view Raw data..

    9. Similarly, the user can Archive and Upload the XML file by clicking the respective buttons.
    10. Open the XML file by clicking on the ID of the respective XML file.

    11. The details of all the tasks that use this XML file are displayed here.

    12. Click on the Edit button to edit the Title and the Description of the XML file.

    13. Click on the Replace XML File button to upload a new XML file.

      Note: When a file is modified, all the tasks that use this file will automatically get the modified file for the task execution.

Did you find what you were looking for?

Automation Analytics and AI in a box

Contact Us

HfS Hot Vendor

Option3's Automation capabilities featured in HfS Research's Hot Vendors List for Q3, 2018

Access your copy here