The SetState action at this time is a simple setting which defines the active state for subsequent screen display or entry.
SetState=[StateName]
OR
SetState="Expression" | Text expression which starts with matching single or double quotes and can contain Handlebar bracketed Field/Variable values |
SetState=?Switch Expression | Multiple expressions selected based on a variable value -- see ?Switch Expression |
Where:
StateName | Name of the State to activate -- See Understanding States and WhenState |
Using SetState=Exit will terminate any subsequent actions for this connection.
At this time, the logic of the InventuSSO is very simple and limited as only a single state can be set across screens and the only control over logic is to use screen recognition Recog tags to split logic based on screen content. For example, to run different actions if an error message is displayed, have two ScreenName tags, one with a blank defined where any error displays and another without that Recog (but defined after the more qualified ScreenName).