Forum Discussion
Hello,
The locked_by_id is a system property that is typically set through use of the lock and unlock actions in an AML query.
You can call these actions through REST by using a PATCH request and specifying the action you want to call inside of the body. As an example, the request below can be used to unlock a Part with a known ID.
PATCH {base url}/Part('A6C9D695E75246758824B6B858622D73')
{
"@aras.action" : "unlock"
}
Chris
Christopher Gillis
Aras Labs Software Engineer
Hello regardless my last comment, is it possible to bloc when we want the automatic revision for an item in discipline automatic ?
Thanks.
- christopher_gillis7 years agoCommunity Manager
Hello,
It is not possible to block a revision for an Automatically revisioned item type.
However, it would be possible to write your own versioning logic to accomplish what you're looking for. You could use two custom properties named something like my_major_rev and my_generation and use an onBeforeUpdate server event to increment these values as you need to.
Chris