&UserContext.Set('counter','0')
&UserContext.Set('isEnabled', 'true')
&UserContext: ‘Properties’ data type. Set of (key, value) where both in this case will have to be Strings.
&ConversationMessage = SendMessage(&text, &Context, &WorkspaceId, &UserContext)
In: &text variable with text of type: Text, GenexusWatsonSDK
In: &Context variable based on the SDT: Context.
In: &WorkspaceId variable varchar with the workspace value.
InOut: &UserContext variable of type: Properties. Set (key, value)
Out: &ConversationMessage variable based on the SDT: ConversationMessage.
The service response text is saved in the node &ConversationMessage.output.text.