He appears to have taken his first formal art lessons in the workshop of Pasqual Bailon Savall (c. 1650–1691), a native of Berga like his father.
Bailon's early death led Viladomat to become apprenticed with Joan Baptista Perramon (c. 1664–1743).
After that, he worked on the Church of San Miguel (demolished in 1868) with the painter and architect, Ferdinando Galli-Bibiena.
His cycle of twenty paintings on the life of Saint Francis of Assisi, originally created for the old Franciscan monastery from 1722 to 1724, are now in the collection of the Museu Nacional d'Art de Catalunya (National Art Museum of Catalonia).
Some paintings historically attributed to him, at the Old Hospital de la Santa Creu and the Jesuit Church in Tarragona, have recently come into question.