Class WfSynchRobot

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.enterprise._Simple
wt.enterprise.Simple
wt.workflow.engine._WfExecutionObject
wt.workflow.engine.WfExecutionObject
wt.workflow.engine._WfActivity
wt.workflow.engine.WfActivity
wt.workflow.robots._WfRobotActivity
wt.workflow.robots.WfRobotActivity
wt.workflow.robots._WfSynchRobot
wt.workflow.robots.WfSynchRobot
All Implemented Interfaces:
Externalizable, Serializable, EventListener, wt.access._AccessControlled, wt.access._PolicyAccessControlled, wt.access._SecurityLabeled, AccessControlled, wt.access.PolicyAccessControlled, SecurityLabeled, wt.admin._DomainAdministered, DomainAdministered, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, wt.fc.adminlock._AdministrativelyLockable, AdministrativelyLockable, wt.fc.BusinessInformation, NetFactor, ObjectMappable, Persistable, DisplayIdentification, wt.inf.container._WTContained, WTContained, wt.notify._Notifiable, Notifiable, wt.notify.ObjectSubscriptionListener, wt.recent.RecentlyVisited, wt.workflow.engine._WfNode, WfNode

@GenAsPersistable(superClass=WfRobotActivity.class,interfaces=wt.notify.ObjectSubscriptionListener.class,versions=-565729540806984724L,properties={@GeneratedProperty(name="targetClassName",type=java.lang.String.class),@GeneratedProperty(name="targetVariableName",type=java.lang.String.class,javaDoc="Attribute that holds name of the variable that references the object to be used for object event synchronization."),@GeneratedProperty(name="eventKey",type=java.lang.String.class),@GeneratedProperty(name="synchType",type=WfSynchType.class,javaDoc="Type of the synchronization. Two types are possible: EVENT - for Windchill event synchronization - and EXPRESSION - for synchronization through user-defined expressions.")},tableProperties=@TableProperties(compositeIndex1="parentProcessRef.key.id")) public class WfSynchRobot extends wt.workflow.robots._WfSynchRobot
Robot used to synchronize with with external (non-workflow) events. There are three kinds of synch robots:
  • EVENT
  • OBJECT_EVENT
  • EXPRESSION
In the first case (EVENT), the robot synchs up with a Windchill keyed event; in the second (OBJECT_EVENT), the robot synchs up with a Windchill event that occurs to a specific object; finally, in the last type (EXPRESSION) a expression is evaluated from time to time.

In the EVENT and OBJECT_EVENT cases it is possible to create an expression to filter the event. In all cases, the extrenal event must be translated into a internal workflow event that is then used for routing purposes.

Use the newWfSynchRobot static factory method(s), not the WfSynchRobot constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also: