getGUIStateTransitions
Retrieve the entire GUI state transition tree for the GUI object.
Parameters
- objectTypeId
- The ID of the object type.
- guiId
- The ID of the GUI from the object type.
Returns
An array of state objects is returned.
Errors
- InvalidArgumentException
- The objectTypeId or guiId are invalid.
- java.lang.Exception
- A system error occurred when the request was being processed.
Sample request
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.tririga.com">
<soapenv:Body>
<ws:getGUIStateTransitions>
<ws:objectTypeId>106402</ws:objectTypeId>
<ws:guiId>10002361</ws:guiId>
</ws:getGUIStateTransitions>
</soapenv:Body>
</soapenv:Envelope>
Sample response
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<getGUIStateTransitionsResponse xmlns="http://ws.tririga.com">
<out>
<ns1:State xmlns:ns1="http://dto.ws.tririga.com">
<recordId xmlns="http://dto.ws.tririga.com">-1</recordId>
<state xmlns="http://dto.ws.tririga.com">null</state>
<trans xmlns="http://dto.ws.tririga.com">
<Transition>
<action>triActivate</action>
<actionId>1</actionId>
<actionSequence>0</actionSequence>
<label>Activate</label>
<nextState>triReview</nextState>
<subActions xsi:nil="true"/>
</Transition>
<Transition>
<action>triCreateDraft</action>
<actionId>1</actionId>
<actionSequence>1</actionSequence>
<label>Create Draft</label>
<nextState>triDraft</nextState>
<subActions xsi:nil="true"/>
</Transition>
</trans>
</ns1:State>
</out>
</getGUIStateTransitionsResponse>
</soap:Body>
</soap:Envelope>