Optimize 10.7 | webMethods Optimize Documentation | Administering webMethods Optimize | For Developers | Configuring and Using the Web Service Data Collector | Sending Process Data | pushExecutionErrorWithCallback
 
pushExecutionErrorWithCallback
Pushes data about a process-related error.
The input parameter is an instance of ExecutionError.
Input Parameters (all parameters are required unless specified as optional)
The following table describes the input parameters.
ExecutionError
Document Container for ExecutionError instance.
message
String A short description of the error.
messageDetail
String (Optional) A long description of the error. If a stack trace is available, store it in this field.
processInstanceId
Document Unique, two-part identifier for the process step.
Parameter
Value
keyValue
Document List Set name to the first part of the identifier (such as ordernumber) and set value to the second part of the identifier (such as 5). Optimize displays the identifier on the Process Instances page in two separate columns so you can sort by name or by value. The complete set of keys you supply constitutes the unique name Optimize uses internally for the process.
Note:
ProcessInstanceID and event data share the same key value pairs.
processIteration
Int (Optional) Current iteration of the business process execution.
processName
String Name of the process. The process name must be unique if it is to be used to push operations to the Process Tracker.
stepName
String (Optional) Name of the process step. The process step name must match the process step name specified in the model definition for this process. For information about configuring process models, see Configuring Business Processes
timestamp
String The time when the event occurred. The time zone parameter of the date must be set to "GMT" in Designer. For input from Integration Server or Designer, the time must be in the following format:
yyyy-MM-ddTHH:mm:ss.SSSZ
type
String The type of error that occurred.
timeoutMS
Int (Optional) Overrides the Analytic Engine's configured default event processing timeout value (currently set to 100000 milliseconds). Value must be greater than the Analytic Engine's configured default to override.
callbackEndpoint
String (Optional) Location of the Web service published using the EventCallback.wsdlWSDL located in the Optimize_directory/dataCollector/conf/glue/wsdl directory. Use the following format:
http://{host}:{port}/{path}/{serviceName}.wsdl
If the value is null, the event will be processed but the callback will not be issued.
correlationId
String (Optional) Unique identifier generated by the client sent back to the Web service during the callback operation. If value is null, event will be processed but callback will not be issued.
notifyOnFailureOnly
Boolean (Optional) If true, Web service calls are issued only when a failure occurs.