After creating the some list items I want to edit the permissions of the list items for that I have created the site workflow based on the choice field I want to edit the permissions for that I have used the query list and foreach action and runif condition based on the choice field within the runif I have added the set item permission
action after scheduling the workflow I am not able to item level permissions for the list item
Solved! Go to Solution.
If you've created the list items in the same workflow you'll need to include a Commit Pending Changes action prior to the Set Item Permissions action.
yes it is reaching the workflow its not throwing any error but its not setting the permissions as expected but its working with the list workflow but I want to set the permissions for the existing items of the list that's why I went for the site workflow
Just tried this with custom permissions and it works for me, please can you confirm that you are seeing an entry for the action in workflow history?
Do you need the loop in the workflow as you're updating the same information each time round, try just calling the set item permissions once and see if that resolves the issue?