TeamcenterKnowledge

IPP&E workflow handlers > Action handlers

IPP-set-active-taskinfo

Description

This handler finds a WBS revision or resource package revision and Taskinfo or ExecutionInfo from the workflow attachment. It then typerefs the Taskinfo or ExecutionInfo onto the WBS revision or resource package revision.

Syntax

IPP-set-active-taskinfo

Arguments

-owning_object_type The WBS work package or functional work package revision for which the owning_object_property will be set.

-owning_object_property The property name to set.

-reference_object_type The TaskInfo or ExecutionTaskInfo to set as the active task information.

-from_attach The EPM attachment type for the specified objects, either target or reference.

Placement

Typically place on the Start or Complete action of a task.

Restrictions

None.

Examples

Argument Value
-owning_object_type Wbs0ElementRevision
-owning_object_property ipp0ActiveTaskInfo
-reference_object_type Ipp0ExternalTaskInfo
-from_attach target

In this example, the handler will find objects of type Wbs0ElementRevision and Ipp0ExternalTaskInfo from target attachments and will set the ipp0ActiveTaskInfo property of the Wbs0ElementRevision type object to the Ipp0ExternalTaskInfo type object found from target attachments.

Note

A WBS work package is identified based on the Work Package check box on the WBS element revision.