Lifecycle Class
The Lifecycle class specifies constant values for all lifecycle status and lifecycle phase strings within the Reviewer quality control workflow. It also includes a helper function getLifecycleInfo that will return the next set of lifecycle status and lifecycle phase that a lifecycle status can move to.
Item Index
Methods
getLifecycleInfo
-
lifecycleStatus
This function accepts an array of lifecycle statuses and returns an object containing the next appropriate lifecycle status and phase that the record will advance to. If the next option in common for lifecycle status is not found, this function returns null.
Parameters:
-
lifecycleStatus
Objectarray of lifecycle statuses.
Returns:
toLifecyclePhaseString
-
lifecyclePhase
This function returns lifecycle phase string associated with the input lifecycle phase code.
Parameters:
-
lifecyclePhase
Objectlifecycle phase code.
Returns:
toLifecycleStatusString
-
lifecycleStatus
This function returns lifecycle status string associated with the input Lifecycle Status code
Parameters:
-
lifecycleStatus
Objectlifecycle status code.
Returns:
Properties
LIFECYCLEPHASE_DESCRIPTIONS
Object
Object containing lifecycle phase codes and their associated descriptions
LIFECYCLESTATUS_DESCRIPTIONS
Object
Object containing lifecycle status codes and their associated descriptions
UNRESOLVED ACCEPTABLE
Number
Unresolved Acceptable lifecycleStatus code = 8 belongs to Verification Phase
UNRESOLVED EXCEPTION
Number
Unresolved Exception lifecycleStatus code = 5 belongs to Verification Phase
UNRESOLVED UNACCEPTABLE
Number
Unresolved Unacceptable lifecycleStatus code = 7 belongs to Review Phase