Hierarchy
-
Based<ItemData>
- ReplacementData
Properties
Readonly __createdAt
Date and time of creation.
Readonly __createdBy
Object’s author.
Optional Readonly __deletedAt
Date and time of deletion.
Readonly __id
ID of the object.
__name
Name of the object.
Readonly __updatedAt
Date and time of change.
Readonly __updatedBy
Author of the last change.
absent
Substituted user.
begin
Substitution start time.
end
Substitution end time.
Readonly isInterrupted
Interrupted substitution flag.
If the substitution is interrupted, the property evaluates to true
.
reassignTasksOnEnd
Reassign tasks when the substitution is finished.
reassignTasksOnStart
Reassign active tasks.
replacement
Substitute user.
type
Substitution type.
Values from the fields.type.variants
object are used for value assignment.
Possible values:
information
: inform other users about the substitution.reassign
: reassign tasks to the substitute.full
: grant all access permissions to the substitute.const rep = System.replacements.create(); rep.data.type = rep.fields.type.variants. information;
Substitution data