ForceTransition

The
ForceTransition
execute allows the operator to force a transition to fire when the only thing preventing it from firing is a TRUE evaluation of its transition expression. The ForceTransition action is a transient and will either succeed immediately or have no effect on the targeted transition object. For example, if a
ForceTransition
execute targets at a transition that is not in a valid state to fire because not all the preceding steps are active, the
ForceTransition
execute fails and is not remembered when all preceding steps become active chart elements.
The format and return for this execute includes:
Execute Format
A
FactoryTalk Batch
Server supports an execute with this format:
[ForceTransition(
Item, UserID, TransitionID
)]
where:
Item
Name of the response item as specified by the client.
UserID
User Identification entered into the event journal associated with this event.
TransitionID
Unique ID, as assigned by the system, of the transition targeted by the override. The transition ID is typically retrieved by a client application using the ProcedureIDData3 data item.
Action
A successful ForceTransition execute causes a transition to fire when it is being prevented from firing by not having a TRUE evaluation of its transition expression.
Return Format
The response item populates with this data:
SUCCESS: | FAIL:
<message>
where:
Field Name
Format
Description
<message>
ASCII-String
Error message appropriately formatted for operator display.
The following table shows an example of the return on this execute.
Example:
An execute string consisting of:
ForceTransition(Item,Station2/View,89)
Could return:
SUCCESS:
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal