CheckHierarchyState Activity
The CheckHierarchyState activity works in two modes based on the value of CheckHierarchyState required parameter. The value of CheckHierarchyState parameter can either be LockHierarchy or CheckLockState.
- If you set the value to LockHierarchy, the activity acquires a lock on the hierarchy available in InDocument for the current user and an event. If the hierarchy is already locked for or by the current user or member, the activity updates the lock for the current Event ID. If the activity fails to lock the hierarchy available in InDocument for the current user or member, or an event ID, an exception occurs.
- If you set the value to CheckLockState, the activity only confirms that the hierarchy available in InDocument is locked by the current user or member running the workflow and current event. If the hierarchy available in InDocument is locked by another member or user, an exception occurs.
Copyright © Cloud Software Group, Inc. All rights reserved.