To create a query in a workflow (process) you must follow the following instructions:
Click on the process chat.
Place the @ sign where a window will open and click start query.
Select the user to whom you are going to make the query and write in the chat of the process.
Hit the enter key and the query will be started within the step.
Once the query is sent, the process will be paused until the consulted user enters to resolve the query or the user who generated it resolves it.
Once the query is resolved, the process will continue its normal course.