Name | Description |
---|---|
Name | Unique name for the step. |
Description | Description of the step (optional). |
Enabled | Select this option to enable the step for execution. If it is not enabled, then the step on the canvas is greyed-out. This option is useful when troubleshooting a process, especially when there are numerous steps in the process. |
Error Handling | Select any of the following: • Abort Process - All the steps after the current step are skipped or the entire process is stopped (depending on how you have set the error logging options) if this step stops due to an error. • Ignore Error - The remaining steps in the current process are executed even if this step stops due to an error. This is selected by default. |
Select Invoker | Select an invoker instance. These instances are displayed when you add message components in the Configuration tab. For more information, see Adding Message Components in Configuring Processes. |
Action | Select the action for the step. |
Parameters | Parameters for the selected action. Specify values for the parameters. |
Properties | Properties for the selected action. Specify values for the properties. |
Concept | Description |
---|---|
DataFlow technology | The framework on which workflows are built is called DataFlow. For more information about this technology and its associated terminology, see the DataFlow documentation. |
DataFlow workflow | You use the DataFlow Invoker to run a DataFlow workflow, also called as a graph. |
Building a process | A DataFlow workflow is run as a step in a process. For more information, see Building Processes. |
Adding a license | To create workflows using the DataFlow Invoker, the integration platform license must include the Engine DataFlow feature. See Uploading License File. |
Using attachments | You can use a RushScript, Java class, or JSON file project attachment as the file to run. |
Using the DataFlow command line | The DataFlow Invoker works by calling the DataFlow command line tool. See the Running from Command Line topic in the DataFlow documentation. |
Property | Description |
---|---|
DataFlow Install Directory | Indicates the DataFlow installation location. By default, $(DR_LOCATION) is displayed. If this macro does not exist, the following error message is displayed: $(DR_LOCATION) macro is not defined. $(DR_LOCATION) macro should be defined with location of DataFlow install. Note: It is possible to have multiple DataFlow installations on the same system. In this case, you may need to use macro sets or overrides in the run-time configuration to set $(DR_LOCATION) to the appropriate DataFlow installation for your process. |
Action | Description |
---|---|
Execute | Executes the supported properties. |
Property | Description |
---|---|
DataFlow Job File | JavaScript file that must be executed. Multiple values are separated with the system default path separator (a colon (:) on Linux; a semicolon (;) on Windows). If executing a Java class, then specify the fully qualified name of the Java class file to be executed. For example, com.example.MyCustomClass. You can also specify the class as an attachment. For details, see the Class Path property description. |
Run a JSON Graph | Enable JSON file execution. By default, it is Disable. |
Execute a Java Class | Enable Java DataFlow class execution. By default, it is Disable. |
Working Directory | Working directory location where, if relative paths are used in the invoker configuration or the workflow to run, they are resolved relative to this location. Note: UNC paths are not supported. |
Class Path | File paths of additional .jar files to be loaded by the Java Virtual Machine before execution. Multiple values are separated with the system default path separator (a colon (:) on Linux; a semicolon (;) on Windows). |
Java Arguments | A string containing the JVM arguments that DataFlow invoker must use. |
Character Set | Character set required to read JavaScript files. Note: This property is not displayed if Run a JSON Graph or Execute a Java Class is enabled. |
Cluster Execution | Cluster configuration required to run the workflow. Specify the value as a macro or in the following format: dr: //host:IP port number where, • host is the host name or IP address of the server running the cluster manager • port is the specified port number of the cluster manager. |
Engine Configuration | Engine configuration type and settings that you can pass to DataFlow. Note: This property is not displayed if Execute a Java Class is enabled. |
Include Directories | Comma separated list of folders containing scripts to be loaded before job execution. Note: This property is not displayed if Run a JSON Graph or Execute a Java Class is enabled. |
JavaScript Environment Variables | List of variables that are used in the RushScript job files. Specify the variables in the following format: variable1=value1[, variable2=value2] Note: This property is not displayed if Run a JSON Graph or Execute a Java Class is enabled. |
Import Macros | Enable importing of all DataConnect macro definitions. By default, it is Disable. Note: This property is not displayed if Run a JSON Graph or Execute a Java Class is enabled. |
Strict Mode | Set JavaScript strict checking mode to one of following: • Disabled • Warning (default) • Error Note: This property is not displayed if Run a JSON Graph or Execute a Java Class is enabled. |
Properties Override File | Specify the properties file that contains the operator overrides. Note: This property is displayed only Run a JSON Graph is enabled. |
Override Operator Properties | String of source and target outputs (separated by a comma (no spaces)), that will be overridden in the JSON graph. Note: This property is displayed only Run a JSON Graph is enabled. You can consider using this feature if the paths on the RushAnalytics development machine do not match the paths for the job files. When the paths do not match, you can use override operator properties to adjust the locations or manually edit the exported .dr file. The following are examples of supported syntax for this property: SourceNodeName.source=path/file TargetNodeName.target=path/file Example: SourceNodeName.source=C:\DR_SHARED_STORAGE\Input.txt, TargetNode1Name.target=C:\DR_SHARED_STORAGE\Output1.txt, TargetNode2Name.target=C:\DR_SHARED_STORAGE\Output2.txt Note: For formatting purposes, spaces are included after the commas, but in actual use, no spaces are allowed. Tip... • Use the naming conventions for the sources and targets. • Add the source and target entries to the string in the order in which they appear in the JSON (.dr) file. • Do not use spaces in source and target names or paths. |
Error Code | Name | Description | Possible Reason |
---|---|---|---|
33 | BADOPTIONVAL-UE | An invalid option value was used. | An invalid value is used for an option in the session properties. |
46 | LICENSING | A valid product license was not found. | A valid license is not available for this component and DataFlow is not available. |
50 | UNSPECIFIED | An Unknown error occurred while loading or executing the component. | For details, see the process log file. |
Property | Default Value | Description |
---|---|---|
SAP Hostname | localhost | DNS name or IP address of the destination SAP application server. |
SAP Router String | Security setting for access to the SAP system behind a firewall. Usually, this will be blank. | |
Language | en | Language for login to the destination SAP application server. |
System Number | 0 | System number for login to the destination SAP application server. |
Client Id | 100 | Client Id login for the destination SAP application server. |
Username | User name for login to the destination SAP application server. | |
Password | Password for login to the destination SAP application server. | |
Max Connections Allowed | 10 | Maximum number of concurrent connections for the connection pool. |
Connection Pool Size | 10 | Total number of available connections in the connection pool. |
Connection Expiration (seconds) | 60 | Length of time after which an idle connection expires. |
Expiration Check (seconds) | 3 | Frequency of checking for expired connections. |
Connection Time Out (seconds) | 30 | Length of time for waiting to establish a connection. |
Debug Folder | If specified, then the SAP XML representation of the current function module is saved to this location just prior to execution. |
Action | Description |
---|---|
Connect | Creates a database connection. |
Execute | Executes the supported action. |
Disconnect | Closes an existing database connection and performs clean up as needed. |
Parameter | Supported Actions | Description |
---|---|---|
Source Message | Execute | DNS name or IP address of the destination SAP application server. Source message is not required but can be used to pass in the PARAM_MAP message property, which overrides any corresponding parameter or structure values. The PARAM_MAP property takes the form of a Java properties file with the following syntax: • Simple Parameter: PARAM_NAME=PARAM_VALUE • Structure Field: STRUCT_NAME.FIELD_NAME=FIELD_VALUE Complete structures can also be mapped if they share the same fields: STRUCT_NAME=FUNCTION_NAME.STRUCT_NAME The second structure must already exist in the repository and be populated with data. Tip... To override multiple properties, use a CR+LF separator. Overriding Tables Tables cannot be overridden using PARAM_MAP. Instead, pass in CSV data using the Source Message property. A header is required, but double-quote delimiter characters are optional. The naming convention for table override of the Source Message property is LOAD_TABLE.TABLENAME. |
Target Message | Execute | Target message is not required but can be used to retrieve a proprietary XML representation of the function template or execution results. Target message properties are also automatically populated for any export parameters or structure fields that contain data. |
Property | Supported Actions | Description |
---|---|---|
RFC Function Name Search | Execute | Enter either simple text or a macro name to search the specified SAP server for the RFC function to execute. Only remotely enabled functions are returned. Search supports the asterisk << Image>> and percent sign (%) as wild card characters. Results are used to populate the RFC Function Name list (see below). The search must return fewer than 100 results. |
RFC Function Name | Execute | Name of the RFC module that you wish to execute. |
Repository Location | Execute | Location of the embedded or network server Derby instance used to store the RFC metadata and parameters. |
Repository Type | Execute | Embedded and client-based repositories are supported. Embedded repositories require no additional software. Client-based repositories require a running instance of the Derby network server. Client-based repositories are usually preferable at design time, and embedded repositories are preferable at run time. Macros used may change depending on the environment. |
Execute Operation | Execute | How the selected RFC is used at run time. Select one of the following options from the list: • Generate Template - Generates function metadata in the repository. • Execute Function - Executes the function using data stored within the repository and/or within the PARAM_MAP source message property. |
Write Response XML | Execute | When True, an XML representation of the RFC function results is returned in the body of the target message. |
Create Optional Templates | Execute | When True, all function metadata is generated in the repository. When False, only metadata required for execution is generated in the repository. Note: This option is only valid when the Execute operation is set to Generate Template. |
Return Empty Tables | Execute | When True, all function tables are generated in the repository. When False, only tables containing data are generated in the repository. This option is only valid when the Execute operation is set to Execute Function. |
Action | Description |
---|---|
50 | Displayed for all run-time errors. |
999 | Displayed when the function executes correctly in SAP, but contains a RET_CODE parameter or RETURN structure with a code other than 0. |
Property | Description |
---|---|
Server | IP address or name of the server where Actian Integration Manager is installed. |
Port | Port number to connect to Actian Integration Manager (8080 by default). |
HTTP User Name | User name to connect to Actian Integration Manager. Note: It is recommended to have administrative permission to access the Job Configurations that you need to run. |
HTTP Password | Password to connect to Actian Integration Manager. |
Action | Description |
---|---|
Execute | Execute job configuration on Actian Integration Manager Server. |
Action | Parameter | Description |
---|---|---|
Execute | Source Message | The function of the source message is based on the selected Execute action property: • If Run Config or Run Config and Wait is selected, then source message is not used. • If Check Status or Get Log is selected, then the optional source message can be the target message from Run Config to get the Log or to check the status of the respective execution. |
Execute | Target Message | The function of the target message is based on the selected Execute action property. For Run Job Config, the information about the submitted job is returned to the target message. • This message can be provided to a Get Log method or a Check Status method to get the log or status of that job. • If the method is Get Log or Run Job Config and Wait, then the target message contains the log body in the text message body. • If the method is Check Status, then the target message contains a property called status that has the status of the job. For example, the statuses are FINISHED_OK and FINISHED_ERROR. |
Action | Property | Description |
---|---|---|
Execute | Method | Select one of the following options: • Run Config: Asynchronously submits a job for execution on Actian Integration Manager. • Get Log: Captures the log from a job configuration execution and adds the contents of the existing log in to the current process log. It also adds the contents of the job execution log to the body of the target message. • Get Status: Retrieve status of the job execution. • Run Config and Wait: Performs all the actions same as Run Config, Get Log, and Get Status. It submits a job configuration for execution, and continues to check the status until complete (or until timeout and retry limits have been reached) to return the log. |
Execute | Job Configuration (for Run Job Config and Wait only) | The Job Configuration ID that you want to run. This ID is available in Actian Integration Manager. Note: The integer ID of the Job Configuration is not the name of the Job Configuration. |
Execute | (Optional) Job Execution ID (For Get Log and Check Status methods only) | There are multiple ways to get the Log of an execution or to check the status of an execution. The easiest way is to use the target message from a Run Job Config method call. You can also maintain and track job executions through another method by adding a Job Execution ID to retrieve the log or status. |
Execute | Polling Timeout (s) (Run Config and Wait method only) | The Run Job Config and Wait method should poll the execution for completion status in seconds. |
Execute | Retry Count (Run Config and Wait method only) | Number of times the Run Job Config and Wait method can be run and check the status of an execution before stopping the execution and proceeding. |
Code | Description |
---|---|
50 | Job Config or Execution not found |
Action | Description |
---|---|
Execute | Runs an expression that you specify directly or through the invoker. |
Action | Property | Description |
---|---|---|
Execute | SourceMessage | Type a name for the input message. |
TargetMessage | Type the name for the target message. |
Action | Property | Description |
---|---|---|
Execute | Map URI | Uniform Resource Identifier name |
Source Connector | Type of source connector | |
Source Connection | Connection string containing path and properties/values | |
Target Connector | Type of target connector | |
Target Connection | Connection string containing path and properties/values | |
Output Mode | Output mode to use when executing the map. The default setting is the value stored in tf.xml file associated with the map. | |
Additional Mappings | (Optional) Path and name of XML file for mapping previously unmapped fields. |
Error Code | Error Name | Description | Reason |
---|---|---|---|
4 | READERR | Error encountered while attempting to read a file. | Error reading a mapping file. |
8 | OPENERR | Error encountered while attempting to open a file. | Error opening a mapping file. |
Property | Description |
---|---|
User Name | The username to connect to the SMTP mail server. A valid username is required if SMTP Authentication is set to TRUE and can be left blank if SMTP Authentication is set to FALSE (for anonymous login). |
Password | The password to authenticate the above username. A valid password is required if SMTP Authentication is set to TRUE and can be left blank if SMTP Authentication is set to FALSE (for anonymous login). |
Server Name | SMTP server name. |
Port | The port number. Default is 25. Note: If the default port is not used, then the component assumes a secure (SSL or TLS) connection.The port number for SSL is 465 and TLS is 587. |
ConnectionTimeOut | Connection time-out in seconds. The default is 90. |
Retry Count | Number of attempts the server tries to establish connection when connection times out or fails. Default is three attempts. |
From | Email address of sender. |
Reply-To | Email address for replies. |
To | Email address of the recipient. You can specify multiple recipients delimited with commas and no space between the comma and the next recipient. Also, you can right-click and select Paste Macro to specify multiple recipients in one macro. |
To List | Full path to a text file that contains email addresses (comma-separated). |
Subject | Subject of the message. |
Attachment | Document(s) attached with the email message. You can specify multiple attachments delimited with commas and no space between the comma and the next attachment. Also, you can right-click and select Paste Macro to specify multiple attachments in one macro. |
SMTP authentication | Specifies if mail server authentication is required. • TRUE (default) - If set to TRUE, the server requires a username and password for authentication. • FALSE - If set to FALSE, the username and password is left blank for anonymous login. |
Encoding String | Encoding string required for the email. Default is ISO-8859-1. |
Content Type | The content type for the email body: • text/plain • text/html • text/richtext |
Content Type | Details |
---|---|
text/* | • Text • HTML |
image/* | • .gif • .jpg |
application/* | All applicable file extensions such as .doc, .xls, and .zip. |
Action | Description |
---|---|
Connect | Establishes a connection to a SMTP server, which is useful when you are testing your configuration. |
Execute | Executes the supported parameters and properties. |
Disconnect | Breaks the connection with an SMTP server which is useful when you need to disconnect before a process is complete. |
Action | Parameter | Description |
---|---|---|
Execute | SourceMessage | Input message |
Code | Description |
---|---|
19 | Unable to connect to the mail server |
27 | Unable to disconnect from the mail server |
8 | Unable to send email |
4 | Unable to receive email |
50 | Unknown error |
1 | End of File |
12 | No more messages to download |
0 | Messages sent or received successfully |
Action | Description |
---|---|
Execute | Executes the supported parameters and properties. |
Action | Parameter | Description |
---|---|---|
Execute | SourceMessage | Name of the source message for the invoker. The body of the message must contain the query statement. The BatchSize message property specifies the number of records to write to a WebRowSet file. If this property is not set or has a negative value, only one WebRowSet file is generated and returned in the target message. If BatchSize has a positive value, the target message contains a BatchCount property that provides the number of WebRowSet files written to TargetDirectory. |
TargetMessage | Name of the target message for the invoker The content of the message depends on the BatchSize property value in the source message. |
Action | Property | Description |
---|---|---|
Execute | SourceType | Source database type |
SourceServer | Source server host name | |
SourceDatabase | Source database to query | |
Username | User ID to access the source database. The connection is limited to the access rights of the user ID that you use. | |
Password | Password to access the source database | |
TargetDirectory | Directory where additional WebRowSet files, if any, are written |
Property | Default Value | Description |
---|---|---|
Protocol | HTTP | Select the secure and unsecure communication over SSL. Protocols supported are: • HTTP • HTTPS • HTTPS (Debug) HTTPS (Debug) allows SSL communication without a valid certificate. |
URL | Main endpoint used by current REST session. Space characters are automatically URL-encoded to "%20". | |
Send Source Via | BODY | Determines whether the Source DJMessage is sent in the HTTP body or appended to the URL and any specified URL query string (as a URL-encoded string). Multiple URL parameters may be set and encoded using source message properties (see Additional Notes). |
Message Encoding | UTF-8 | Text encoding to be used in the body of the source and target DJMessage objects. The options available are: • UTF-8 • ISO-8859-1 |
Content Type | text/xml; charset=UTF-8 | Content-Type header in the HTTP request. The options available are: • text/xml; charset=UTF-8 • text/xml; charset=ISO-8859-1 • application/x-www-form-urlencoded |
HTTP Username | User name when Basic, Digest, or NTLM authentication schemes are required. | |
HTTP Password | Password when Basic, Digest, or NTLM authentication schemes are required. | |
Domain (NTLM Only) | Domain when Windows NTLM authentication scheme is required. | |
Proxy Server | Host name or IP address of a proxy server. | |
Proxy Port | Port on which the proxy server is listening. | |
Proxy Username | User name for proxy server where required. If NTLM authentication scheme is required, then the Domain (NTLM Only) option must also be set. | |
Proxy Password | Password for proxy server, where required. | |
Truststore File | Truststore file | |
Truststore Pswd | Password to access the trustore file | |
SSL/TLS Version | Any | Determines the SSL context or the enabled protocol for SSL. This option is displayed only when the Protocol is set to HTTPS or HTTPS (Debug). The supported SSL and TLS protocols are: • Any • SSLv3 • TLSv1 • TLSv1.1 • TLSv1.2 If you select Any, the SSL/TLS protocol is decided by Apache http component and Java runtime. The default value is Any. Make sure that Java is installed to use these SSL and TLS version protocols. |
Action | Description |
---|---|
Execute | Executes the supported actions listed in Supported Action Properties. |
Disconnect | Closes an existing database connection and performs any clean up actions if required. |
Supported Actions | Parameter | Description |
---|---|---|
Execute | Source Message | Body of HTTP request. |
Target Message | Body of HTTP request. |
Supported Action | Property | Description |
---|---|---|
Execute | HTTP Method | HTTP Method to be executed. See the HTTP 1.1 specification for additional details. Methods supported are: • POST • GET • HEAD • TRACE • OPTIONS • PUT • DELETE Default method is POST. Note: When using the POST method, the source message body is used as the body of the HTTP request. When using the PUT method, the source message body is assumed to be the URL of a file on the file system to use as the body of the request. |
Execute | URL Query String | Allows a query string or additional URL information to be appended to the URL. The URL is appended in the following manner: URL + URL Query String + URL-Encoded String. URL-Encoded String is taken from the Source Message when Send Source Via == URL. Any value used within this option is read literally and must already be URL-Encoded. Example using Send Source Via == URL URL: http://www.google.com/ Send Source Via: URL URL Query String: ?var= Source Message Text: "<test>Documents and Settings</test>" Example using Send Source Via == BODY URL: http://www.google.com Send Source Via: BODY URL Query String: ?var=%3Ctest%3EDocuments%20and%20Settings%3C%2Ftest%3E" Resulting URL String in both Examples = "http://www.google.com/?var=%3Ctest%3EDocuments%20and%20Settings%3C%2Ftest%3E" This option is ignored when one or more parameters are set with the Source Message Properties (see Additional Notes). |
Execute | SOAP Action | Sets the SOAPAction header in the HTTP request, when required. This value is only required when connecting to strongly typed web services. |
Execute | Connect Retry Count | Determines the number of retry attempts made when an exception occurs. There is a one second delay between retry attempts. If the value is negative, the retry attempt default is zero. Note: If the method to be executed is GET, HEAD, TRACE, or OPTIONS, then multiple retry attempts are made regardless of exception. However, if the method to be executed is POST, PUT, or DELETE, multiple retry attempts are only made when the following exceptions occur: • NoHttpResponseException • ConnectTimeoutException • UnknownHostException • ProtocolException • Connection is dropped before the request is fully sent to the server Default is five retry attempts. |
Execute | Connect Timeout (secs) | Determines the number of seconds to wait for a response once a socket connection is made. If the value is set to <= 0 seconds, then time-out defaults to 30 seconds. Note: If a socket connection cannot be established or is dropped, then this value has no effect. Default is 30. |
Execute | Log HTTP Headers | When set to true, all HTTP request and response headers are written to process log file. Default is true. |
Execute | Write Response File | Click Browse and specify the file path. The response is written directly to the file, and not to the target message body. When no file path is specified, response text is placed in the target message body. Use this option in the following situations: • The response is known to be very large. • The response may have invalid characters for the specified encoding scheme. |
Error Code | Description |
---|---|
50 | Displayed for all run-time errors. |
HTTP Status Code | Error Code = HTTP Status Code for all Status Codes >= 400 Error Code = 0 for all other Status Codes (including 200 OK), as Status Codes below 400 may be expected and/or desirable for certain requests. Refer to the HTTP 1.1 specification for additional information regarding HTTP Status Codes. |
Property | Default Value | Description |
---|---|---|
Protocol | HTTP | Supports secure and unsecure communication over SSL. Protocols supported are • HTTP • HTTPS • HTTPS (Debug) HTTPS requires the use of a trust store. HTTPS (Debug) allows SSL communication without the use of a valid certificate by trusting all certificates. |
URL | The endpoint of the current REST API session. Include the port number if required. The format is <protocol>://<domain name>:<port number>/resource path. For example: http://www.mywebservice.com:80/Specific/API/URL Make sure the URL is encoded properly before adding the value for this property. Contact the administrator of your Web service endpoint if you are not sure of the encoding that is required. | |
Send Source Via | BODY | Specifies whether the source DJMessage is sent in the HTTP body or appended to the URL and any URL query string (as a URL-encoded string) that has been specified. You can set and encode multiple URL parameters using source message properties (see Additional Notes). |
Message Encoding | UTF-8 | The text encoding to use in the body of the source and target DJMessage objects: UTF-8 or ISO-8859-1. |
Use Base64 Encoding | No | When sending a binary attachment, indicates whether the attachment must be encoded in base 64 before being sent. |
Content Type | text/xml | The content type for the header of an HTTP request. Supported types: • text/xml • text/html • text/plain • application/json • application/x-www-form-urlencoded • application/xml • multipart/form-data • application/atom+xml • application/octet-stream • application/svg+xml • application/xhtml+xml • wildcard |
HTTP Username | The user name when Basic, Digest, or NTLM authentication schemes are required. | |
HTTP Password | The password when Basic, Digest, or NTLM authentication schemes are required. | |
Domain (NTLM Only) | The domain when Windows NTLM authentication scheme is required. | |
Proxy Server | The host name or IP address of the proxy server. | |
Proxy Port | The port on which the proxy server is listening. | |
Proxy Username | The user name for the proxy server, where required. If an NTLM authentication scheme is required, you must also set the Domain (NTLM Only) option. | |
Proxy Password | The password for the proxy server, where required. | |
Keystore File | The keystore file that the REST API Invoker must provide to the server during initial SSL handshake. This property appears only when the Protocol property is set to HTTPS. Note: The certificate or the certificate chain must be installed into a local java keystore. | |
Keystore Pswd | The keystore password for the keystore file. This property appears only when the Protocol property is set to HTTPS. | |
Truststore File | The full path to the trust store certificate from the keystore location. This property appears only when the Protocol property is set to HTTPS. | |
Truststore Pswd | The password to access the specified trust store. This property appears only when the Protocol property is set to HTTPS. | |
SSL/TLS Version | Any | Determines the SSL context or the enabled protocol for SSL. This option is displayed only when the Protocol is set to HTTPS or HTTPS (Debug). The supported SSL and TLS protocols are: • Any • SSLv3 • TLSv1 • TLSv1.1 • TLSv1.2 If you select Any, the SSL/TLS protocol is decided by Apache http component and Java runtime. The default value is Any. Make sure that Java 8 LTS is installed to use these SSL and TLS version protocols. |
Action | Description |
---|---|
Execute | Executes the actions listed in Supported Action Properties. |
Disconnect | Closes an existing database connection and performs any cleanup actions if required. |
Action | Property | Description |
Execute | SourceMessage | Body of the HTTP request. |
Execute | TargetMessage | Body of the HTTP request. |
Action | Property | Description |
---|---|---|
Execute | HTTP Method | HTTP Method to be executed. Default method is POST. Supported methods: • POST • GET • HEAD • TRACE • OPTIONS • PUT • DELETE • PATCH See the HTTP 1.1 specification for additional details. |
Execute | URL Query String | Allows a query string or additional URL information to be appended to the URL. The URL is appended in the following manner: URL + URL Query String + URL-Encoded String. The string will be URL encoded in the following MIME format: application/x-www-form-urlencoded |
Execute | SOAP Action | Sets the SOAPAction header in the HTTP request, when required. This value is required only when connecting to strongly typed web services. |
Execute | Connect Retry Count | The number of retry attempts to make when an exception occurs. If the value is negative, the retry attempt default is zero. The Connect Retry Delay property value is used between retry events. Note: If the method to be executed is GET, HEAD, TRACE, or OPTIONS, multiple retry attempts are made regardless of any exceptions. If the method to be executed is POST, PUT, or DELETE, multiple retry attempts are made only when the following exceptions occur: • NoHttpResponseException • ConnectTimeoutException • UnknownHostException • ProtocolException Connection is dropped before the request is fully sent to the server Default is 5. |
Execute | Connect Retry Delay (ms) | The time (in milliseconds) to wait between retry attempts. The default value is 1000. |
Execute | Log HTTP Headers | When set to true, all HTTP request and response headers are written to a process log file. Default is True. |
Execute | Read Source File | The file that is to be upload. |
Execute | Read Source Folder | For multipart post requests, specify the folder location that contains the file that is to be uploaded. By default, all of the files in the specified folder are added to the request. To request specific files, you can add the following to a Script step before the invoker is called: requestMsg.properties("F.<filename>") = "<filepath>" You must add this line for each file you specify. See Multipart Post Options for more information. |
Execute | Write Response File | If a file name is not specified, response text is placed in the target message body. If the file name is specified, the response is written directly to the file instead of the target message body. Use this option in the following situations: • The response is known to be very large. • The response may have invalid characters for the specified encoding scheme. |
Execute | Write Response Folder | If a file path is not specified, response text is placed in the target message body. If the file path is specified, a response is written directly to the file instead of the target message body. Use this option in the following situations: • The response is known to be very large. • The response may have invalid characters for the specified encoding scheme. |
Code | Name | Description | Possible Reason |
---|---|---|---|
0 | OK | No error. Used for all informational messages. | |
50 | UNSPECIFIED | An unexpected error occurred. Displayed for all run-time errors. | |
4 | READ ERROR | A file, input stream, or web service response could not be read. | |
27 | CLOSE ERROR | A file or input stream could not be closed. | |
20 | BAD FILE TYPE | The specified directory or file does not exist. | |
11 | RECORD TOO BIG | A file or input stream is too large to be read by the invoker (the maximum size is 2147483647 characters). | |
34 | INVALID | An option is invalid. | The invoker was redirected to an invalid location. For example, no location header was specified. |
44 | NOT SUPPORTED | An option is not specified. | The invoker could not encode a binary attachment to base 64 due to a charset error. |
Property | Default Value | Description |
---|---|---|
Protocol | HTTP | Supports secure and unsecure communication over SSL. Protocols supported are • HTTP • HTTPS • HTTPS (Debug) HTTPS requires the use of a trust store. HTTPS (Debug) allows SSL communication without the use of a valid certificate by trusting all certificates. |
Authentication | None | Supported server Authentication: • BASIC • DIGEST • NTLM • OAuth2 Bearer |
Message Encoding | UTF-8 | The text encoding to use in the body of the source and target DJMessage objects: UTF-8 or ISO-8859-1. |
Use Base64 Encoding | No | When sending a binary attachment, indicates whether the attachment must be encoded in base 64 before being sent. |
HTTP Username | The user name when Basic, Digest, or NTLM authentication schemes are required. | |
HTTP Password | The password when Basic, Digest, or NTLM authentication schemes are required. | |
Domain | The domain when Windows NTLM authentication scheme is required. | |
Bearer Token | The Bearer Token when OAuth2 Bearer authentication scheme is required. | |
Proxy Server | The host name or IP address of the proxy server. | |
Proxy Port | The port on which the proxy server is listening. | |
Proxy Username | The user name for the proxy server, where required. If an NTLM authentication scheme is required, you must also set the Domain (NTLM Only) option. | |
Proxy Password | The password for the proxy server, where required. | |
Keystore File | The keystore file that the REST API Invoker must provide to the server during initial SSL handshake. This property appears only when the Protocol property is set to HTTPS. Note: The certificate or the certificate chain must be installed into a local java keystore. | |
Keystore Pswd | The keystore password for the keystore file. This property appears only when the Protocol property is set to HTTPS. | |
Truststore File | The full path to the trust store certificate from the keystore location. This property appears only when the Protocol property is set to HTTPS. | |
Truststore Pswd | The password to access the specified trust store. This property appears only when the Protocol property is set to HTTPS. |
Action | Description |
---|---|
Execute | Executes the supported actions listed in Supported Action Properties. |
Disconnect | Closes an existing database connection and performs any clean up actions if required. |
Action | Property | Description |
Execute | SourceMessage | Body of the HTTP request. |
Execute | TargetMessage | Body of the HTTP request. |
Action | Property | Description |
---|---|---|
Execute | Design | Click within the field and then click to open the Rest API Invoker 3 Configuration window. After configuring the values in this tool, the result string appears in the textbox as the value. To change this value, you must click . For more information, see Using Rest API Invoker 3.x Configuration Tool. |
Execute | HTTP Method | HTTP Method to be executed. Default method is POST. Supported methods: • POST • GET • HEAD • TRACE • OPTIONS • PUT • DELETE • PATCH See the HTTP 1.1 specification for additional details. |
Execute | URL | The endpoint of the current REST session. |
Execute | URL Query String | The endpoint of the current REST session. Include the port number if required. The format is <protocol>://<domain name>:<port number>/resource path. For example: http://www.mywebservice.com:80/Specific/API/URL Make sure the URL is encoded properly before adding the value for this property. Contact the administrator of your Web service endpoint if you are not sure of the encoding that is required. |
Execute | Headers | HTTP request headers. Formats: key1:value1;key2:value20;key2:value21 ..... At run-time, the input message can define message properties start with 'H.' for header. |
Execute | Cookies | HTTP cookie. Formats: key1=value1;key2=value2 ..... At run-time, the input message can define message properties 'Cookie'. |
Execute | Send Source Via | Specifies whether the source DJMessage is sent in the HTTP body or appended to the URL and any URL query string (as a URL-encoded string) that has been specified. The options are: • BODY • URL The default value is BODY |
Execute | Content Type | The content type for the header of an HTTP request. The options are: • text/xml • text/html • text/plain • application/json • application/x-www-form-urlencoded • application/xml • multipart/form-data • application/atom+xml • application/octet-stream • application/svg+xml • application/xhtml+xml • wildcard The default value is text/xml. |
Execute | SOAP Action | Sets the SOAPAction header in the HTTP request, when required. This value is required only when connecting to strongly typed web services. |
Execute | Connect Retry Count | The number of retry attempts to make when an exception occurs. If the value is negative, the retry attempt default is zero. The Connect Retry Delay property value is used between retry events. Note: If the method to be executed is GET, HEAD, TRACE, or OPTIONS, multiple retry attempts are made regardless of any exceptions. If the method to be executed is POST, PUT, or DELETE, multiple retry attempts are made only when the following exceptions occur: • NoHttpResponseException • ConnectTimeoutException • UnknownHostException • ProtocolException • Connection is dropped before the request is fully sent to the server Default is 5. |
Execute | Connect Retry Delay (ms) | The time (in milliseconds) to wait between retry attempts. The default value is 1000. |
Execute | Log HTTP Headers | When set to true, all HTTP request and response headers are written to a process log file. Default is True. |
Execute | Read Source File | The file that is to be upload. |
Execute | Read Source Folder | For multipart post requests, specify the folder location that contains the file that is to be uploaded. By default, all of the files in the specified folder are added to the request. To request specific files, you can add the following to a Script step before the invoker is called: requestMsg.properties("F.<filename>") = "<filepath>" You must add this line for each file you specify. See Multipart Post Options for more information. |
Execute | Write Source File | Write the HTTP request to the specified file. If not provided, the content of the source DJMessage will not be copied to a file |
Execute | Write Response File | Write the HTTP response to the specified file. If not provided, the response is written to the target DJMessage. |
Code | Name | Description | Possible Reason |
---|---|---|---|
0 | OK | No error. Used for all informational messages. | - |
50 | UNSPECIFIED | An unexpected error occurred. Displayed for all run-time errors. | - |
4 | READ ERROR | A file, input stream, or web service response could not be read. | - |
27 | CLOSE ERROR | A file or input stream could not be closed. | - |
20 | BAD FILE TYPE | The specified directory or file does not exist. | - |
11 | RECORD TOO BIG | A file or input stream is too large to be read by the invoker (the maximum size is 2147483647 characters). | - |
34 | INVALID | An option is invalid. | The invoker was redirected to an invalid location. For example, no location header was specified. |
44 | NOT SUPPORTED | An option is not specified. | The invoker could not encode a binary attachment to base 64 due to a charset error. |
Action | Description |
---|---|
Execute | Executes the supported parameters and properties. |
Action | Parameter | Description |
---|---|---|
Execute | SourceMessage | Name of the Source message for the invoker |
TargetMessage | Name of the Target message for the invoker |
Action | Property | Description |
---|---|---|
Execute | SourceMessage | Name of the Source message for the invoker |
Password | Password to access salesforce.com. | |
Endpoint Address | Address for salesforce.com endpoint. If you do not set this option, the invoker uses the default. The default setting is based on the WSDL version. You can change the number in the URL to any supported version, including versions 2.5 through 16. The default value is https://www.salesforce.com/services/Soap/u/16.0 When you call this option, use Endpoint, as shown in this example: sourceMsg.properties(“EndpointAddress”) = "https://www.salesforce.com/services/Soap/u/7.0" |
Code | Name | Description | Possible Reason |
---|---|---|---|
46 | LICENSING | A valid product license is not found. | You must have a valid license tor this component in order to use it. |
34 | INVALID | The invoker could not log in to Salesforce.com. | The user name or password may be incorrect or the server may be unavailable. For more information, see the process log. |
50 | UNSPECIFIED | An unknown error occurred while loading the component. | For more information, see the process log. |
Action | Description |
---|---|
Execute | Executes the supported parameters and properties. |
Action | Parameter | Description |
---|---|---|
Execute | SourceMessage | Name of the Source message for the invoker |
TargetMessage | Name of the Target message for the invoker |
Action | Name | Description |
---|---|---|
Execute | User Name | User ID to access salesforce.com. The connection is limited to the access rights of the user ID that you use. For most purposes, enter a user ID with an Administrator profile. |
Execute | Password | Password to access salesforce.com |
Execute | Endpoint Address | Address for the salesforce.com endpoint. If you do not set this option, the invoker uses the default URL, which is based on the WSDL version. You can change the URL to connect to any supported version, including versions 2.5 through 16. When you call this option, use EndpointAddress as shown in this example: sourceMsg.properties("EndpointAddress") = "https://www.salesforce.com/services/use/u/10.0" To connect to a sandbox, use this example: sourceMsg.properties("EndpointAddress") = "https://test.salesforce.com/services/Soap/u/10.0" |
Execute | Method | Methods supported by the invoker: • GetUpdated - Retrieves a list of IDs that have been added or changed within a given time period for the specified object type. • GetDeleted - Retrieves a list of IDs that have been deleted within a given time period for the specified object type. The time period for the method is specified as the Start Date and End Date. |
Execute | Object Type | Name of the Salesforce entity to query. |
Execute | Start Date | Start date for the GetUpdated or GetDeleted methods in the following format: yyyy-MM-ddTHH:mm:ss.SSSZ Example: 2006-12-20T12:09:15.000Z This option is required; null values cause an error to be returned. Note: The Start Date value cannot be more than 30 days in the past. |
Execute | End Date | End date for the GetUpdated or GetDeleted methods in the following format: yyyy-MM-ddTHH:mm:ss.SSSZ Example: 2006-12-25T06:00:45.000Z Caution! This option is required; null values cause an error to be returned. |
Code | Name | Description | Possible Reason |
---|---|---|---|
5 | NOMEM | The allocated Java heap space memory has been exhausted. | You need to increase the Java heap space memory allocation, or select dates that are closer together so that fewer records are returned. |
19 | OPENERR | Salesforce.com returned an EXCEEDED_ID_LIMIT or OPERATION_TOO_LARGE exception. | The start and end dates may return too many records. Select dates that are closer together so that fewer records are returned. |
33 | BADOPTIONVALUE | The component detected an invalid or missing property value. | You specified a value using an incorrect format or did not supply a value. |
34 | INVALID | The invoker could not log in to Salesforce.com. | User name or password may be incorrect. |
46 | LICENSING | A valid product license is not found. | You must have a valid license for this component in order to use it. |
50 | UNSPECIFIED | An error occurred while loading the component. | See the process log for more information. |
Property | Description |
---|---|
Username | User ID to access salesforce.com. The connection is limited to the access rights of the user ID that you use. For most purposes, enter a user ID with an Administrator profile. |
Password | Password to access salesforce.com. |
ProxyServer | Address of the proxy server, if it is required. |
ProxyAuth | Authentication string to be passed to the proxy server, if it is being used. |
APIVersion | The version of the Salesforce API. The default is 17. For Salesforce Bulk Loader version 2.0, specify the Salesforce API version as 42.0. |
Endpoint | Address for the salesforce.com endpoint (for the regular API). The default is https://www.salesforce.com/services/Soap/u/17.0. Note: The actual API endpoint used for the Salesforce Bulk API is slightly different, but the invoker determines the correct endpoint to use based on the regular API endpoint entered here. |
Action | Description |
---|---|
Execute | Executes the supported parameters and properties. |
Action | Parameter | Description |
---|---|---|
Execute | SourceMessage | Name of the source message for the invoker |
TargetMessage | Name of the target message for the invoker |
Action | Property | Default Value | Description |
---|---|---|---|
Execute | sObject | Account | Name of the Salesforce entity (sObject is the internal name for entity). |
Execute | SourceCSV | Account.csv | The name of the CSV file to load into Salesforce. The default value must be changed. |
Execute | BatchSize | 10,000 | The number of records to send in each batch. The default value is . |
Execute | Operation | Insert | Select any of the following: Insert Update Upsert |
Execute | ExtIdField | The External ID field. This value is not used when the operation is 'insert', but is required for 'update' or 'upsert' operations. | |
Execute | SuccessFile | Account_Success.csv | Name of the file used to record successful record operations. Each successful record operation will contain the job ID, batch ID, record ID, and a flag indicating whether a new record was created. |
Execute | FailureFile | Account_Failure.csv | Name of the file used to record failed record operations. Each failed record operation will contain the job ID, batch ID, and a description of the error. |
Property | Description |
---|---|
Repository Home | Directory where all schema files are generated and stored. For every stored procedure that you select, the invoker generates a corresponding request and response schema file. These files are stored in the repository home. The value of the User ID property and a hard-coded "SP" directory are used to create a directory under Repository Home. If the User ID is not specified, then SP is created in a directory called No_UserId. Tip... If you do not know the path of your temporary directory, locate it by typing %tmp% at the command prompt. Example #1 Repository Home = %tmp% User Id = tester The request and response schemas are created in %tmp%\tester\sp. Example #2 Repository Home = %tmp% User Id = (blank) The request and response schemas are created in the %tmp%\NO_USERID\sp Note: The Repository Home directory has a generated subdirectory called spInvokerBaseSchemas, which contains the base schemas: invokerBase.xsd, invokerRequest.xsd, and invokerResponse.xsd. |
Recreate Schema | Indicates whether to recreate the request and response schema for every database session. By default, Recreate Schema is set to False. This ensures that the JDBC Stored Procedure Invoker does not recreate the request and response schema for every database session. If the procedure has changes, set the value to true. This indicated that the component must generate a new request and response for the procedure if the schemas already exist. |
Procedure Schema | Optional: If a procedure is contained within a particular schema, specify the schema in which to search for the procedure. If this field is not specified, all schemas in the database are searched. |
Driver | JDBC driver to load and use. For example: oracle.jdbc.driver.OracleDriver |
Host URL | JDBC URL connection to the database. For example: jdbc:oracle:thin:@dbserver1:1521:mydbname |
User ID | User name for the database session. Note: Provide the user ID for the database session only if it is configured for your database. |
Password | Password for the database session. |
Jar Location | Directory that contains the JAR files that are required to load the JDBC driver. Note: You cannot append multiple paths to the value. All driver JAR files must be located in the same folder. Caution! Always use the latest JAR files for a particular database version. |
Global Transaction | Select this option to make it a global. |
Action | Description |
---|---|
Execute | Executes the selected stored procedure. Requires two DJMessage objects, one that contains the XML request and one to capture the XML response. The maximum size limit for DJMessage is 512 MB. |
Connect | Opens a persistent connection to the database |
Disconnect | Closes an existing database connection and performs any clean up actions required. |
BeginTransaction | Starts an implicit transaction for the session that can be committed or rolled back. |
CommitTransaction | Commits any insert, update, or delete operations made on the database. |
RollBackTransaction | Rolls back any SQL statements that have been sent to the database using the WebRowSet XML format. |
Action | Parameter | Description |
---|---|---|
Execute | SourceMessage | Request XML message used to execute the procedure. |
TargetMessage | Response XML message returned from executing the procedure. The target message is in WebRowSet XML format. |
Action | Property | Description |
Execute | Stored Procedure | Stored procedure that the JDBC Stored Procedure Invoker should invoke. For example: StoredProcedure=SP_RS. Select a stored procedure from the list. Based on your selection, the JDBC Stored Procedure Invoker automatically creates a request and response schema in the repository home folder. Note: The spInvokerBaseSchemas contains the base schemas invokerBase.xsd, invokerRequest.xsd, and invokerResponse.xsd. The user interface displays a reference to the request and response schemas. |
Execute | Source Schema | Name of the schema created based on metadata from the stored procedure. The source schema is used to define the structure of the request that is passed in at run time. The response schema file is located in the repository home folder. The JDBC Stored Procedure Invoker automatically maps the path to the request schema in the repository home. |
Execute | Target Schema | Name of the response schema file created by the JDBC Stored Procedure Invoker, based on the chosen stored procedure. The response schema file is located in the repository home folder. JDBC Stored Procedure Invoker automatically maps the path to the response schema based on your entry in the Repository Home instance property. |
Error Code | Error Name | Description | Reason |
19 | ERR_OPENERR | Error while connecting to the database | Returned when an exception occurs while connecting to the specified database |
27 | ERR_CLOSERR | Error while disconnecting from the database | Returned when an exception occurs while disconnecting from the specified database |
98 | ERR_TRANSACT | Error while using transaction method like commit, rollback. | Returned when an exception occurs while using transaction methods like commit and rollback |
89 | ERR_EXECUTE | Error while running the stored procedure | Returned when an exception occurs while running the stored procedure (Execute method) |
Action | Description |
---|---|
Execute | Executes the supported parameters and properties. |
Action | Parameter | Description |
---|---|---|
Execute | SourceMessage | Name of the source message for the invoker. The body of the message must contain the WebRowSet statement as the input for the update. |
TargetMessage | Optional name of the target message for the invoker If specified and the target supports BatchResponse, the BatchResponse is returned in the message body. |
Action | Property | Description |
---|---|---|
Execute | TargetType | Multimode target type. |
Execute | TargetServer | Target server host name. |
Execute | TargetDatabase | Database updated by the invoker. |
Execute | TargetTable | Name of table where update is applied. |
Execute | Username | User ID to access the target database. The connection is limited to the access rights of the user ID that you enter. |
Execute | Password | Password to access the target database |
Execute | UpdateKeys | Field names in the target table to use as the keys for the update. Required for MODIFY and DELETE. If you specify multiple field names, use commas to separate them. UpdateKeys are also known as ActionKeys. |
Property | Description |
---|---|
Dynamic XQuery or XML Source Document | Location or URL of XQuery or XML source file |
Source XML Document | Location of the source XML document |
Action | Description |
---|---|
Execute | Executes the supported parameters and properties. |
Action | Parameter | Description |
---|---|---|
Execute | SourceMessage | Name of the source message for the invoker |
TargetMessage | Name of the target message for the invoker |
XML Source | XQuery Expression | Description | Example |
---|---|---|---|
Design Time | |||
URL | URL | Provide URL to the XML source at design time | C:\people.xml |
Provide URL to the XQuery file at design time | C:\people.xq | ||
Combination of Design and Run Time | |||
Source Message (URL) | URL | Provide URL to the XML source at run time | srcMsg.Body = "C:\people.xml" |
Provide URL to the XQuery file at design time | C:\people.xq | ||
Source Message (Content) | URL | Provide soure XML content at run time | msg.Body = fileread("C:\people.xml") |
Provide URL to the XQuery file at design time | C:\people.xq | ||
URL | Source Message (URL) | Provide URL to the XML source at design time | C:\people.xml |
Provide URL to the XQuery file at run time | srcMsg.body="C:\people.xq" | ||
URL | Source Message (Content) | Provide URL to the XML source at design time | C:\people.xml |
Provide XQuery file at run time | srcMsg.body=fileread("C:\people.xq") |
Action | Property | Description |
---|---|---|
Execute | XML Source | The Execute action accepts inputs: • At design time as a URL • At run time as either content or URL through the DJMessage object |
Execute | XQuery Expression | The Execute Action accepts inputs: • At design time as a URL • At run time as either content or URL through the DJMessage object |
Code | Name | Description | Reason |
---|---|---|---|
12 | ERR_NOSOURCE | Invalid XML source | XML source file provided is corrupt or invalid. |
34 | ERR_INVALID | Invalid XQuery expression | XQuery expression provided is invalid. |
50 | ERR_UNSPECIFIED | Run time exception | Run time exception encountered. |