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 |
|
Combine the Run Action rules and the Run Scheduled Action rules
In Service Manager, the Run Action rules are executed in a sequential manner. Take the related records as an example, if one of the rules sets or actions against the related records fails, the whole execution stops and return a failure result. To ensure successful execution, you can combine the Run Action rules and the Run Scheduled Action rules, so that the execution can be scheduled if it fails due to record locking.
In the out-of-box configuration, when the status of an incident changes, the status of the related interaction also changes accordingly. To achieve this, a rule set “im.sync.status.to.interaction” is configured in the “After successful update” event of the Incident workflow, as shown below:
This rule set is configured on the "probsummary" table that stores incident records:
In addition, you also need to configure the Run Action rules in the rule set as follows:
- Name the condition something like "Sync Interaction Status", which makes it easy for you to understand the purpose of the condition
- Select Related Records for the "Run Action on" field
- Select Escalate From Interaction for the "Relation Type" field. This means the target related record is the interaction from which incident is escalated.
- Select sd.sync.status.from.escalation for the "Run Rule Set" field. This rule set is executed against the related interaction. To handle the operation failure on locked interaction, this rule set must contain the Run Scheduled Action rule.
- Select Do nothing for the "Action after Rule Set" field. Actions like the save operation on target records are configured in the “sd.sync.status.from.escalation” rule set.
The form on which you can perform these tasks is shown below:
After defining the rule set on the source table, you need to define the rule set on the target table. The rule set on the target table is used as the value of the "Run Rule Set" field when you define the rule set for the source table. In this example, you define the rule set “sd.sync.status.from.escalation” on the target table “incidents” that stores the interaction records:
In this rule set, a Scheduled Action rule is configured to sync up the status of the incident and the status of the interaction. The configuration is as follows:
- Specify the scheduled execution time as the current time by using JavaScript. This ensures the schedule is executed as early as possible, that is, it is executed the next time the back end scheduler “Scheduled Action processor” is activated.
- Select Escalate From Interaction as the Relation Type. This means the target related record is the interaction from which the incident is escalated.
- Specify the Action condition to call a JavaScript method
StatusSyncServiceBeanWrapper.callBeanMethod("setSyncStatus",$L.file)
. All the main logic is included in this JavaScript method.- If status synchronization is needed and successful, this method returns true, and then the Save action is executed.
- If status synchronization is not needed, this method returns false, and then the Save action is ignored automatically.
- Keep the Run Rule Set field empty.
- Select Save for the "Action after Rule Set"field. While the record is saved, if it is locked, the saving operation fails, and a schedule record is rescheduled instead of being deleted.
srcRecord
for the current source record and as oldSrcRecord
for the original source record in JavaScript, are not supported if the Run Scheduled Action rules are used.
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@hp.com.
Help Topic ID:
Product:
Topic Title:
Feedback: