

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
HI Experts,
I have a query.
When one user has opened a certain incident ticket and at the same point in time another user opens up the same ticket, there is a pop up which tells us that the ticket is locked.
I want to understand the functionality how this works at the backend. Is there any RAD app being called??
Please let me know.
Thanks in Advance
Abhishek
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Lock are define in Object for the file.
The line look like this:
lock.on.display in $G.pm.environment
You can check a lock (when you know his name) using
$L.xLock=get.lock.owner("probsummary;IM00001")
If you don't know his name... check the rad application capture.status.bg.
You can also force unlock using the rad application se.unlock.object.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Do not much but it seems that when ever you tried to edit any record sm calls rad which decide the locked condition of record.
refer to below rad trace
RAD: display
|3| prep.screen
|3| screen.msg
|3| select.options
|3| select.options.from.cache
|3| check.text
|3| rinit.events
|3| decide.from.cache
|3| select.default.event
|3| select.events.1
|3| add.option
|3| next
|3| check.text
|3| display
|3| display.decide
|3| display.go
|3| display.go.1
|3| check.rio.opts
|3| show.rio
|3| co
|3| decide.lock
|3| check.lock.object
|3| check.option.1
|3| process.option
|3| check.rad
|3| call.rad
|3| start
|3| RAD: se.lock.object
|3| get.object
|3| start
hth,
Assign Kudo, if found post useful and mark it accepted if solves the issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
you can see current locks in system status--->show locks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
you can find locking definition under object in tab Locking.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Lock are define in Object for the file.
The line look like this:
lock.on.display in $G.pm.environment
You can check a lock (when you know his name) using
$L.xLock=get.lock.owner("probsummary;IM00001")
If you don't know his name... check the rad application capture.status.bg.
You can also force unlock using the rad application se.unlock.object.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Can you give me systax to kill one locked incident using above rad

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello!
I have the same problem, have you a systax to kill one locked incident using above rad or javascript?