ReplaceSegmentRequirement (IProductionRuntime)

Deletes the entire hierarchy of the existing segment requirement and creates a new segment requirement with any associated hierarchy.

InputsData TypeDescription
NameString

Specifies the name of the segment requirement.

If a value is not specified, the new segment requirement will have the same name as the one it replaces.

OrderInt

(Optional) Specifies the execution order of the segment requirement.

If a value is not specified, the new segment requirement will have the same order as the one it replaces.

Requirement IDGUIDSpecifies the ID of the segment requirement that will be deleted and then replaced by the currently configured one. The new segment requirement takes the same place in the hierarchy.
Work Definition SegmentDirectoryResource

Specifies the work definition segment to associate with the segment requirement.

In the Inputs section of the activity configuration panel, click the ellipsis button to open the Universal Browser to select the resource you want to use.

OutputsDescription
GUID Returns the new segment requirement.