Add the action Query XQL to your workflow. The action can be found in the section ERPConnect Services.
Configure the Query XQL action to write your XQL statement and map fields and variables using Insert Reference.
Result Output
The Query XQL action can provide a return parameter named @RETVAL. The return parameter can be used as Result output.
The return parameter has XML format.