Description | Example | Return Message | Group(s)

SCHED: EditTask

Format

SCHED / EditTask {AttributeName} <Parameter>

Description

The SCHED EditTask Connect command edits the attributes of a task in STK Scheduler. This command can be used to edit a single task attribute or multiple attributes of a single task. When editing multiple task attributes, all attributes will be applied to the task in the order in which they appear in the command with four exceptions. The Locked, Deferred,Assignments, and OperationalStatus keywords get applied in the order listed here after all other keywords get applied.

All tasks are initially created with default attribute values.

Anytime a parent definition is edited, it will cause its children to be recreated. The newly created children will not have any assignments until the schedule is deconflicted.

The order of keywords should follow the order shown in the command description table below, as this follows the GUI field ordering and the order necessary for proper task creation.

{AttributeName}Description
General Parameters
DescriptionCreate a description for the given task
PrioritySet the priority of the given task based on the priority scale set by the user
PreferenceDefines the scheduling preference for a task
TimeslotPreferenceDefines the timeslot preference for a task
TimeslotDurationPreferenceDefines the timeslot duration preference for a task
GroupsDefines which groups the given task is in

AllowBonusing

Defines whether the task's assignments can also be used to assign other task's assignments via bonusing (Bonusing plug-in)

Rename

Changes a given task's TaskID to a new value specified by the user.
STK Parameters
ObjectLineColorSets the color of the object line for this task
SatelliteOrbitOptionsDefines various orbit options for all associated satellites of this task
Scheduling Parameters
RecurringTypeSets the recurring type of the task
Scheduling - Non Recurring Parameters
NonRecurringDiscreteWindowsDefine discrete windows for non recurring tasks
NonRecurringPeriodicWindowsDefine periodic windows for non recurring tasks
NonRecurringTimeImportDefines windows for non recurring tasks via a file import
NonRecurringSTKReportsDefines windows for non recurring tasks via STK reports
Scheduling - Recurring Parameters
RecurringDiscreteWindowsDefine discrete windows for recurring tasks
RecurringPeriodicWindowsDefine periodic windows for recurring tasks
RecurringTimeImportDefines windows for recurring tasks via a file import
RecurringSTKReportsRepeatsDefines windows for non recurring tasks via STK reports
ApplyDurationExtensionDetermines whether timeslots will be extended for child tasks
RecurringConstraintsDefines the interval constraints for recurring tasks
Duration Parameters
DurationIsVariableAllowed
Defines whether the task's assignments are of a variable or fixed duration
DurationIsFullSlotRequired
Defines whether a task's assignment must be the same duration as its containing time slot
DurationIsMultipleSegmentsAllowed
Defines whether a task can only have a single assignment or multiple assignments
DurationIsResourceChangesAllowed
Defines whether the same resource possibility must be used amongst all of a task's assignments
DurationIsOverlapRequired
Defines whether the task is allowed to have time gaps between assignments or if the task's adjacent assignments must overlap
DurationFixed
Defines the task's fixed duration constraint
DurationMinSegment
Defines the task's minimum segment duration for tasks that allow multiple segments
DurationMinTotal
Defines the minimum combined duration of all of the task's assignments
DurationMaxTotal
Defines the maximum combined duration of all of the task's assignments
DurationOverlap
Defines the duration of overlap between adjacent assignments for the task
DurationMaxOverlapDefines the maximum duration of overlap between adjacent assignments for the task
Resource Parameters
RetainAssignmentsCan be specified to allow a task or it's children to retain their assignments when editing
ResourceFormulaDefines the resources that this task uses
UseCommonSetupTimeDefines whether a task must use the same setup time for all resources in that task
RetainSettingsDefines whether previous resouce usage definition values will be retained when creating possibilities (true by default), if the ResourceFormula parameter is also specified
Resource - Per Possibility Parameters
SetPossibilityPriorityDefines the priority for a task possibility
SetPossibilityTimeslotDurPrefDefines the timeslot duration preference for a task possibility
SetPossibilitySTKReportsDefines windows via STK reports for a task possibility
SetPossibilityTimeImportsDefines windows via file import for a task possibility
SetPossibilityTimesReportOverrides and explicitly sets the possibility's list of report times for the given task
SetPossibilityTimesExactOverrides and explicitly sets the possibility's list of final timeslots for the given task
SetPossibilityTimeslotDefines the start and stop times of a timeslot for a task possibility
SetPossibilityResourceUsageTypeDefines the resource usage type for a task possibility
SetPossibilityResourceRateTypeDefines the resource usage rate type for a task possibility
SetPossibilityResourceAmountDefines the resource usage amount for a task possibility
SetPossibilityResourceRatePeriodDefines the resource usage rate period for a task possibility
SetPossibilityResourceAccommodationDefines the resource accommodation for a task possibility
SetPossibilityResourceMinSetupDefines the resource's minimum setup time for a task possibility
SetPossibilityResourceBreakdownDefines the resource's breakdown time for a task possibility
SetPossibilityResourceDurationOverrideDefines the resource's duration override for a task possibility
SetPossibilityResourceCostDefines the resource cost for a task possibility
SetPossibilityResourceSetupModesDefines the usable resource state setup modes for a task possibility
SetPossibilityResourceBodyModesDefines the usable resource state body modes for a task possibility
SetPossibilityResourceBreakdownModesDefines the usable resource state breakdown modes for a task possibility
SetPossibilityResourceRangeDefines the resource range constraint for a task possibility
SetPossibilityResourceAnimationDefines the resource animation type for a task possibility
Resource - Per Task Parameters
SetTaskResourceUsageTypeDefines the resource usage type for all of the task's possibilities that use a specified resource
SetTaskResourceRateTypeDefines the resource usage rate type for all of the task's possibilities that use a specified resource
SetTaskResourceAmountDefines the resource usage amount for all of the task's possibilities that use a specified resource
SetTaskResourceRatePeriodDefines the resource usage rate period for all of the task's possibilities that use a specified resource
SetTaskResourceAccommodationDefines the resource accommodation for all of the task's possibilities that use a specified resource
SetTaskResourceMinSetupDefines the resource's minimum setup time for all of the task's possibilities that use a specified resource
SetTaskResourceBreakdownDefines the resource's breakdown time for all of the task's possibilities that use a specified resource
SetTaskResourceDurationOverrideDefines the resource's duration override for all of the task's possibilities that use a specified resource
SetTaskResourceCostDefines the resource cost for all of the task's possibilities that use a specified resource
SetTaskResourceSetupModesDefines the usable resource state setup modes for all of the task's possibilities that use a specified resource
SetTaskResourceBodyModesDefines the usable resource state body modes for all of the task's possibilities that use a specified resource
SetTaskResourceBreakdownModesDefines the usable resource state breakdown modes for all of the task's possibilities that use a specified resource
SetTaskResourceRangeDefines the resource range constraint for all of the task's possibilities that use a specified resource
SetTaskResourceAnimationDefines the resource animation type for all of the task's possibilities that use a specified resource
Dependency Parameters
SetAnchorDefines whether the task has to be the first or last task scheduled
DependenciesDefines the dependencies for a task
Notes Parameters
NotesDefine notes for the given task
Status Parameters
LockedDefines whether a task is locked
DeferredDefines whether a task is deferred
AssignmentsDefines the assignments for the task
OperationalStatusSets the Operational Status of a task
HideDefines whether a task is hidden from the gantt view

Examples

Changes the values of the Description, Priority, and RecurringDiscreteWindows attributes of the SSRDump task in the active schedule to "This is a test", 7, and 2002/05/20 12:00:00.456 2002/05/20 12:52:00 "Demo comment", respectively

SCHED / EditTask 'SSRDump' Description 'This is a test' Priority 7 RecurringDiscreteWindows 1 2002/05/20_12:00:00.456 2002/05/20_12:52:00 'Demo comment'
SyntaxExample
<CommandName>SCHED / EditTask
<TaskName>'SSRDump'
{AttributeName}Description
<Parameters>'This is a test'
{AttributeName}Priority
<Parameters>7
{AttributeName}RecurringDiscreteWindows
<Parameters>1 2002/05/20_12:00:00.456 2002/05/20_12:52:00 'Demo comment'

Return Message

If activated, Connect returns an acknowledgment message.

Group Membership

This command belongs to the following group(s):

Scheduler

Version

4.3.1 and 5.0