Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Using the Function Argument Mapping Wizard

For functions known as mapper functions you can use the Function Argument Mapping wizard to map inputs from a source to the function arguments.

See Mapping and Transforming Data for a reference to using the Function Argument Mapping wizard.
Note: In the TIBCO BusinessEvents language, array indexes start from zero (0). However, in XSLT and XPath languages, they start from one (1). It’s important to remember this difference when using the rule language in the rule editor, and when working in the XSLT mapper and the XPath builder.

Procedure
1. Open the Function Argument Mapping wizard in either of the following ways:
   In the rule editor, type the category of function you want to use and select a mapper function from the list of functions in that category. The function argument area contains the text `"xslt://"`. Ctrl+click the text `"xslt://"` to open the Function Argument Mapping wizard.
   Type the name of a mapper function category into the Actions or Conditions areas, then type an open parenthesis ( "(" ) TIBCO BusinessEvents displays `"xslt://"`. Ctrl+click the text `"xslt://"` to open the Function Argument Mapping wizard.
   Type the entire string to specify the function category path and name, followed by `("xslt://")`. Then control-click the text `"xslt://"` to open the Function Argument Mapping wizard.
2. In the Function Argument Mapping Wizard, under the Function section, take appropriate action. For example, if you are using `Instance.createInstance()`, click the Browse button to the right of the Entity Path field and select a concept type so you can create an instance of it.
3. Under the Input section, on the left side, TIBCO BusinessEvents displays a list of variables associated with the project, and on the right, a list of properties for the selected resource type.
4. Drill down and expand the lists on both sides to expose the variables and properties.
5. Drag variables from the left to the appropriate property on the right.

   Figure 61: The Function Argument Mapping Wizard in XPath 1.0 Project

   Figure 62: The Function Argument Mapping Wizard in XPath 2.0 Project

6. (XPath 1.0) If you want to define the arguments using more complex logic, type the code or click the XPath Formula Builder icon to use the XPath Formula Builder. See XPath Formula Builder For XPath 1.0.
7. (XPath 2.0) If you want to define the arguments using more complex logic, type the code in the XPath Expression column or click the Show/Hide Edit Tab icon to display the Edit Statement tab. On the left side, click the Functions tab to see the available mapper functions and then drag and drop the functions to the XPath Expression text box. See XPath Formula Builder For XPath 1.0.
8. Click OK.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.