Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
SMIS SPI
SMIS provides the following SPI components.
Manager SPI
The following table describes the functions used to develop a manager.
Function |
Parameter |
Return |
Description |
---|---|---|---|
appendTasks |
|
|
Directs the source adapter to retrieve records, converts these records into tasks, and calls the task manager to push these tasks into the task queue. |
preProcess |
task |
Boolean |
Prepares the destObj and actions. If it returns false, the task will be ignored and removed. |
process |
task |
Boolean |
Returns true or false when the task is or is not processed successfully. |
postProcess |
task |
|
Performs postprocessing after the task is processed. |
getDestObj |
|
Object |
SCFile or Object. |
getAction |
|
String |
Returns a customized action defined by the manager. Can be any value (for example: Insert/Update/Delete). |
isScheduleBased |
|
Boolean |
Indicates whether the integration is schedule-based or not. |
finalize |
|
|
Performs finalization actions. |
initParams |
|
|
Initializes parameters when the instance is first added. Use |
Adapter SPI
The following table describes the functions used to develop source and destination adapters.
Function | Parameter | Return | Description |
---|---|---|---|
getRecords |
|
Array |
Retrieves records from external sources, and returns them to the manager. |
sendRecord |
|
|
Sends out the record according to the action. For example, |
Record |
Object |
JavaScript object that contains the result data to send. |
|
Action |
String |
Customized action. For example, “insert”, “update”, or “delete”. |
|
getFields |
|
Array |
Returns an array of field names, types, and descriptions. The field information will be used for mapping. |
Mapping SPI
The following table describes the functions provided by the mapping function in SMIS.
Function | Parameter | Return | Description |
---|---|---|---|
validate |
|
boolean |
Validates the input values. |
inRecord |
Object |
Input field values. |
|
direction |
String |
Mapping direction. |
|
getOutRecord |
|
Object |
Gets outRecord by inRecord according to field mapping and value mapping (not including callback). |
inRecord |
Object |
Input field values. |
|
direction |
String |
Mapping direction. |
|
setFieldValues |
|
|
The final processing step of mapping, which sets the mapped value to destObject. |
inRecord |
Object |
Input field values. |
|
outRecord |
Object |
The object of getOutRecord. |
|
destObject |
Object |
The final object of the mapping result. |
|
smisContext |
Object |
The container that contains context values. |
|
direction |
String |
Mapping direction. |
TaskManager SPI
The following table describes the functions provided by the task manager in SMIS.
Function | Parameter | Return | description |
---|---|---|---|
readTasks |
|
Array |
Reads tasks by instance ID. |
intId |
String |
Instance ID. |
|
removeTask+ |
|
Object |
Removes the task if it is processed successfully. |
task |
Object |
Task object. |
|
setFieldValues |
|
|
The final processing step of mapping, which sets the mapped value to destObject. |
updateTask |
|
Object |
Updates the task if it is processed unsuccessfully. |
task |
Object |
Task object. |
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-ITSM@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: