I am working on a sharepoint online classic team site, and i added a custom list which contain a field named "Responsibility ID" which is of type "Single line of text", and i set it as hidden inside the New/Edit forms using this PnP script:-
$fieldTitle = "ResponsibilityID" $customfield = $Context.Site.RootWeb.Fields.GetByInternalNameOrTitle($fieldTitle) $customfield.SetShowInEditForm($true) $customfield.SetShowInDisplayForm($true) $customfield.UpdateAndPushChanges($true) $Context.ExecuteQuery()
so not sure why the IF statement inside my above workflow is being ignored? so even if the "Responsiblity ID" equals
RES[ItemID], the workflow will update the item.