Query | Enter a SQL query which returns state. For example, SELECT label,id,state FROM MyRecentState WHERE myObjectId = {{sourceId}}
When writing a State query, the below three columns are mandatory and all others will be ignored. label: The label for the state passed in, for example ‘Deliveries’. These ‘label’ values must be distinct and will each produce their own status blockid: If this state will be tied to an object, then that object’s sourceId should be used, otherwise passing the ‘label’ value a second time will work effectively.state: The state of the labeled object, options are ‘Success’, ‘Warning’, ‘Error’, and ‘Unknown’.
|