In the Source drop-down list, define whether you want the action to execute on the current document in the queue or related documents and obtain data from the defined document.
If you are configuring the action for related documents see Related Tab for more information.