Cisco Cisco Process Orchestrator 3.1 User Guide

Page of 786
 
13-69
Cisco Process Orchestrator 3.1 User Guide
 
Appendix 13      Using Adapters
  Core Adapter
Defining the XPath Query Activity
Step 1
In the Process Editor Toolbox, choose Core Activities > XMPath Query, then drag and drop the activity 
onto the Workflow pane.
Step 2
Click the General tab and enter the required information.
Step 3
Click the XPath Query tab to define the properties specific to the activity, including the source XML 
text to be queried.
Step 4
Modify the list of namespace definitions.
Step 5
Click Namespace to display the namespace column descriptions.
Step 6
Click XPath Queries to display the XPath queries column descriptions, including:
  •
XPath Query—Enter the path expression to query.
  •
Property Name—Enter the property name to display on the Results tab after the activity has run.
  •
Property Type—Select the data type associated with the path expression to query (String, Numeric, 
Boolean, or DateTime).
Step 7
Enter the information in the remaining tabs as necessary, then click Save to complete the activity 
definition.
Defining the XSL Transform Activity
Use the XSL Transform activity to apply XSLT transformation to specific XML text. XSLT 
transformation can transform XML into plain text, HTML, or other XML.
Step 1
In the Process Editor Toolbox, choose Core Activities > XMPath Query, then drag and drop the activity 
onto the Workflow pane.
Step 2
Click the General tab and enter the required information.
Step 3
Click the XSL Transform tab to define the properties specific to the activity, including:
  •
Specify XSL document—Select this radio button to transform a specific XSL document, then enter 
the XSLT style sheet for the XSL document. 
  •
XSL transform—Select this radio button to transform XSL text from a specific file path, then enter 
the appropriate file path of the XSL file. 
  •
Source XML to transform—Source XML text to be transformed.
  •
Output Format—Select the radio button to determine the appropriate output in the automation 
summary and activity instance (HTML, XML).
Step 4
Enter the information in the remaining tabs as necessary, then click Save to complete the activity 
definition.