PTC Workflow Domain
PTC Workflow (Workflow) domain provides access to the workflow capabilities of Windchill. A workflow enables you to automate procedures in which information, tasks, and documents are passed to several participants, maybe across multiple companies.
The domain enables you to get all the information related to a workflow task that is associated with a user. Use this domain to perform the following actions:
Get the list of states of the workitems.
Get the workitems assigned to you.
Save tasks.
Complete tasks.
Get the list of users to whom a specified task can be reassigned.
Reassign your tasks to other users.
The following table lists the significant OData entities available in the PTC Workflow domain. To see all the OData entities available in the PTC Workflow domain, refer to the EDM of the domain. The domain EDM is available at the metadata URL.
Items
OData Entities
Description
Work item in Windchill
WorkItem
The WorkItem entity represents tasks in Windchill. A work item is a task that is assigned to a user. For tasks
For WorkItem entities in which the parameter SigningRequired has a value of true, explicit re-authentication is necessary for completion of a task.
Subject of a workflow
Subject
The Subject entity represents a business object that is associated with the WorkItem entity. Subject can be any business object that is lifecyle managed. For example, parts, CAD documents, change requests, and so on.
Activity in workflow
Activity
Activity represents an action in a process which is assigned in the form of tasks or workitems to users. Every WorkItem entity is associated with Activity.
Templates in a workflow
WorkItemProcessTemplate
The WorkItemProcessTemplate entity represents a workflow template. It is represented as WfProcessTemplate object in Windchill. The Workitem entity is associated with a workflow template.
Information about the user
Owner
CompletedBy
OriginalOwner
The Owner, CompletedBy, and OriginalOwner entities represent the WTUser object in Windchill. Owner information is available for every WorkItem. The CompletedBy and OriginalOwner entities are populated using the complete, reassign, or delegate action.
Auditing details of a task
VotingEventAudit
WfEventAudit
These entities represent WorkItem that is associated with the Activity entity.
The WfEventAudit and VotingEventAudit entities contain the audit information for a specific task. They are associated with work items that are complete.