Testing the Attributes
Procedure
-
When using custom attributes and components, ensure that you modify the process so you use the new component id (see Initialize Input Data) as shown below:
com_tibco_n2_ec_api_base_Factory.createAttribute(); a.attributeId = -1; a.attributeName = "componentId"; a.value.add("ECCustomAudit"); auditRequest.event.attribute.add(a);
- Deploy the business process with the above change and execute (see Deploy and Test the ECCustomAudit Application).
- In the first form enter customAttr1 as the attrName and customAttr1 Data as the attrVal.
- The audit message with the first form data is written into the extended attribute table (ec_event_attr) as shown below:
- In the second form enter customAttr2 as the attrName and 10 as the attrVal (as customAttr2 is defined as LONG).
- The audit message with the second form data is written into the extended attribute table (ec_event_attr) as shown below.
Copyright © Cloud Software Group, Inc. All rights reserved.