Repairing Incorrect Mappings Any incorrect statements are displayed in red in the Function panel. Errors can occur for a number of reasons. For example, • a required element has no statement, and therefore must be specified • the function’s input schema has changed and existing statements may no longer be valid • the XPath formula for an element may contain an error You should correct any errors before attempting to test or deploy your process definition. To help find potential problems in your mappings, click the Mapper Check and Repair button. This button displays a dialog with all potential problems in the specified mappings. You can select the Fix checkbox for potential errors, and TIBCO BusinessEvents will attempt to fix the problem. Some potential problems in the Mapper Check or Repair dialog cannot be fixed easily, and therefore there is no checkbox in the Fix column for these items. For example, if an element expects a string and you supply a complex type, the corrective action to fix the problem is not clear, and therefore TIBCO BusinessEvents cannot automatically fix the problem. You must repair these items manually. If you want to return to the original expected Function input and remove all of the currently specified mappings, perform the following: 1. Delete the root element of the function’s input by selecting it and clicking the Delete button. 2. Click the Mapper Check and Repair () button. 3. In the Mapper Check and Repair dialog Fix column, select the checkboxes for all items. 4. Click OK. Alternatively, you can simply select the root input element and press the delete key on your keyboard as a shortcut for the procedure above. After deleting all mappings and schema items and then repairing the input schema, the function’s input reverts to the state before you open the Argument Mapping Wizard for the first time for this function.