Scottish Labour's ruling body has committed to backing another Brexit referendum.
Leader Richard Leonard said he was pleased that members supported the plan.
Scottish Labour will now campaign for any Brexit deal to be automatically put to the people in a confirmatory vote.
The party will now campaign for that ballot paper to have a clear option to Remain and that Scottish Labour would campaign to remain in the EU.
Mr Leonard said: "I am pleased that Scottish Labour's executive committee has endorsed my call for the party to back a confirmatory vote on any Brexit deal with Remain as an option on the ballot paper.
"Scottish Labour will wholeheartedly campaign for a Remain victory in such a vote.
"Only Scottish Labour is building a radical platform for investment in people and communities, our industries and our public services."
However, there were concerns from the party's pro-EU wing that a fresh commitment could be "watered down".
The vote took place as a new poll, on behalf of pro-EU groups Best for Britain and Hope not Hate, suggested Labour could lose all its Scottish MPs if they fail to back another vote.
Pressure mounted for the party to clarify its position on Brexit following a poor showing at the European elections.
The party slumped to fifth place with just 9.3% of the vote, lost both its MEPs and saw two frontbenchers - Neil Findlay and Daniel Johnson - resign.