StateTransition Parameters and Valid Execution Modes

The valid execution mode for StateTransition is SYNCHR.

The parameters of StateTransition are as follows:

StateTransition Parameters
Name Semantics Type Valid Values Multi-plicity
Direction: In
InDocument
(Mandatory) See Common Parameters.      
ConversationAction
(Mandatory) Specifies whether to start a new conversation (new) or to participate in an existing conversation (join) or to join an existing conversation or create it if it does not exist (connect). string new, join, connect 1
ConversationType
(Optional) Type of conversation.

GLOBAL will update the Event with the resulting conversation id.

LOCAL (the default) will not.

string GLOBAL

LOCAL

0..1
MoveTo
(Mandatory) Specifies the new state to move the conversation to. string The states defined in the SupplierState table for the current enterprise 1
Key#
(Mandatory) A set of keys used to uniquely identify this conversation. Replace # with an integer, for example, Key1, Key2. string   1..n
NewKey#
(Optional) Add this key to the list of keys for this conversation. Replace # with an integer, for example, NewKey1, NewKey2, and so on. string   0..n
Direction: Out
CouldMove
(Optional) True if the state machine moved to a new state, false otherwise. If not specified and no move was made, an exception will be thrown. boolean True, False N/A
Conversation
State
(Optional) The state of the conversation after a move has been attempted string The states defined in the SupplierState table for the current enterprise N/A