require(["esri/tasks/datareviewer/ReviewerLifecycle"], function(reviewerLifecycle) { /* code goes here */ });
Description
(Added at v3.14)
The ReviewerLifecycle object 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.
Samples
Search for
samples that use this class.
Properties
Methods
Property Details
Acceptable lifecycleStatus code = 4 belongs to Verification Phase.
Code for Correction Phase.
Exception lifecycleStatus code = 9 belongs to Verification Phase.
Failed lifecycleStatus code = 12 belongs to Verification Phase.
Object containing lifecycle phase codes and their associated descriptions.
Object containing lifecycle status codes and their associated descriptions.
Mark As Exception lifecycleStatus code = 3 belongs to Correction Phase.
New lifecycleStatus code = 10 belongs to Review Phase.
Passed lifecycleStatus code = 11 belongs to Verification Phase.
Resolved lifecycleStatus code = 2 belongs to Correction Phase.
Reviewed lifecycleStatus code = 1 belongs to Review Phase.
Unacceptable lifecycleStatus code = 6 belongs to Review Phase.
Unknown lifecycleStatus code = 0 belongs to Review Phase.
Unresolved Acceptable lifecycleStatus code = 8 belongs to Verification Phase.
Unresolved Exception lifecycleStatus code = 5 belongs to Verification Phase.
Unresolved Unacceptable lifecycleStatus code = 7 belongs to Review Phase.
Code for Verififcation Phase.
Method Details
This function returns the the associated lifecycle phase of the input lifecycle status.
Parameters:
<Number > lifecycleStatus |
Required |
The lifecycle status code. |
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:
<Array > lifecycleStatus |
Required |
An Array of lifecycle statuses. |
This function returns lifecycle phase string associated with the input lifecycle phase code.
Parameters:
<Number > lifecyclePhase |
Required |
The lifecycle phase code. |
This function returns lifecycle status string associated with the input lifecycle status code.
Parameters:
<Number > lifecycleStatus |
Required |
The lifecycle status code. |