Filter Phases For On Submit, Merge, Modify - BMC Communities
Filter Phases For On Submit, Merge, Modify - BMC Communities
FilterPhasesforonSubmit,Merge,Modify|BMCCommunities
BMC.com > All Places > Products > Remedy AR System > Documents
Version 1
Created by Rakesh Jajper on Feb 24, 2009 6:18 AM. Last modified by Rakesh Jajper on Feb 24, 2009 6:22 AM.
An Overview
In AR System, form is an AR System object which is used to capture and display the information. The information captured in the
forms will be processed by Remedy workflow objects before storing it in the database.
AR System has following three types of work flow objects to implement the Business Logic:
1. Active Links
2. Filters
3. Escalations
Active Links:
An active link is an action or a series of actions that are being triggered when a user performs an operation, based on the set of
permissions assigned to that user. The action(s) is triggered on the AR System client (either web or Windows) in the current form
window.
https://communities.bmc.com/docs/DOC6072
1/6
09/01/2016
FilterPhasesforonSubmit,Merge,Modify|BMCCommunities
Filters:
Filters are meant to implement and enforce business rules because they test every request transaction to see if certain conditions
are met, and then respond to the conditions by taking specific actions. These filters are executed for all the transactions occur in
the Database. Filters will run from the Server. So Administrator permission is defined for the Filters.
Escalations:
An escalation enables a condition to be checked on a regular basis or time bound basis and, depending on if and how it is met,
performs one or more actions. Escalations differ from filters in that escalations occur at a specific point on a time interval rather
than in response to a specific operation. Escalations will run from the Server. So Administrator permission is defined for the Filters.
Here we are going to discuss about the processing of Filter in the AR Server.
As we already discussed, Filter Object executes on the Server with Administrator permission. So whenever the following actions
are made, the filter objects are executed:
Submit
Modify
Delete
Get entry
Merge
If any one of the action is triggered for a Request, then all the filter for the corresponding execute on condition will be executed.
While executing these filters, they will be executed based on the execution order. But the actions present may not be executed
sequentially as Active link or in escalation actions.
https://communities.bmc.com/docs/DOC6072
2/6
09/01/2016
FilterPhasesforonSubmit,Merge,Modify|BMCCommunities
The actions present in the Filters are classified under the following three categories:
Phase 1
Phase 2
Phase 3
The following table shows actions that are processed under each phase:
Phase 1
Phase 2
Phase 3
Call Guide
Push Fields
Notify
Exit Guide
Direct SQL
Run Process
GoTo
Go To Guide Label
Log to File
Message
Set Fields
This implementation is meant for ensuring that notifications are sent and that processes are run only after the database
operations are successful. If any database operation fails, all subsequent actions are suppressed, and database changes are rolled
back. So, the system defers to a final phase the operations that should not run until database transactions have been committed
and there is no chance that a rollback will occur.
The subsequent section will detail the order in which the filter actions are executed in more detail.
When the On submit or On merge execute action is triggered, the filter actions are executed in the following procedure:
3/6
09/01/2016
FilterPhasesforonSubmit,Merge,Modify|BMCCommunities
Here if there are any errors in any one of the phase 2 actions, then all the phase 2 actions will be rolled back. Then the created
record will be deleted from the data base.
If any phase 2 action triggers any more transactions such as CREATE or MODIFY subsequently, the phase 2 action will not be
committed until all the phase 1 and phase 2 actions are completed. If there are any errors in these, the transaction is rolled back
and created entry is deleted from the data base.
When the On Modify execute action is triggered, the filter actions are executed in the following procedure:
Here if there are any errors in any one of the phase 2 actions, then all the phase 2 actions will be rolled back.
If any phase 2 action triggers any CREATE transactions subsequently, the phase 2 action will not be committed until all the phase 1
and phase 2 actions are completed. If there are any errors in these, the transaction is rolled back and created entries are deleted
from the data base.
When the On Get Entry execute action is triggered, the filter actions are executed in the following procedure:
https://communities.bmc.com/docs/DOC6072
4/6
09/01/2016
FilterPhasesforonSubmit,Merge,Modify|BMCCommunities
Here if there are any errors in any one of the phase 2 actions, then all the phase 2 actions will be rolled back. But by the time the
Notification would have been sent. So be careful in using this option.
For getEntry operations, there is generally no database change, so the actions are not be phased.
When the On Delete execute action is triggered, the filter actions are executed in the following procedure:
Here if there are any errors in any one of the phase 2 actions, then all the phase 2 actions will be rolled back. But by the time the
Notification would have been sent. So be careful in using this option.
Rakesh Jajper
Vyomlabs Pvt. Ltd.
4743Views
Categories:
Tags:
https://communities.bmc.com/docs/DOC6072
5/6
09/01/2016
FilterPhasesforonSubmit,Merge,Modify|BMCCommunities
1 Comment
Login or Register to comment
Dhananjay Deshpande Oct 22, 2013 6:43 AM
Find People
Support Login
Like (0)
Community Help
Worldwide
About BMC
BMC.com
Google+
1980
Copyright 2005-2016 BMC Software, Inc. Use of this site signifies your acceptance of BMC's Terms of Use, Privacy Policy and Cookie Notice.
BMC, BMC Software, the BMC logos, and other BMC marks are trademarks or registered trademarks of BMC Software, Inc. in the U.S. and/or certain
other countries.
Manage Cookies
https://communities.bmc.com/docs/DOC6072
6/6