I have a SharePoint online enterprise wiki site collection. and i have provided a newer pagelayout and new content type. but i do not want to update all the wiki pages at-once. so i tried to create a SP 2013 workflow which runs on item update, to check if the page layout does not have the new page layout and update the page layout accordingly.
but i faced 2 issues:-
- i can not search for the Page Layout inside the If statement. as it does not allow to reference a page layout using the name.
- inside the Set item, the Page Layout is not available, as follow:-