New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Commander Commander
Commander
5325 views

Locked Incident

Jump to solution

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

0 Likes
1 Solution

Accepted Solutions
Highlighted
Cadet 1st Class Cadet 1st Class
Cadet 1st Class

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.

View solution in original post

0 Likes
6 Replies
Highlighted
Absent Member.
Absent Member.
Hi

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.
Highlighted
Fleet Admiral
Fleet Admiral
hi,

you can see current locks in system status--->show locks
0 Likes
Highlighted
Fleet Admiral
Fleet Admiral
hi Abhishek,

you can find locking definition under object in tab Locking.

0 Likes
Highlighted
Cadet 1st Class Cadet 1st Class
Cadet 1st Class

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.

View solution in original post

0 Likes
Highlighted
Absent Member.
Absent Member.

Can you give me systax to kill one locked incident using above rad

Highlighted
Ensign
Ensign

Hello!

I have the same problem, have you a systax to kill one locked incident using above rad or javascript?

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.