Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

is there any way to add permissions to a state-machine workflow for approvals so that if you try and set a state on an item that you are not supposed to, the change gets reversed?

More specifically, can this be done in SPD2010 without using a Visio workflow or a custom InfoPath form?

share|improve this question
    
I know I made an encyclopedia-like post on creating a state machine workflow in SPD2010, but the one thing it lacks is a good permissions structure, and I'm not sure how to add that, hence the question. –  Thomas W. May 30 '12 at 17:56

1 Answer 1

Wouldn't you just need to add some sort of check within the state steps that if some field equals a specific value to go to a different state instead? The other field could be something in the content type that is hidden so it's only accessible by the workflow.

Sort of a vague answer, but all I can think of at the moment.

share|improve this answer
    
Can it be done so that if a group of people have the access, that they can be checked by the user group/membership? –  Thomas W. May 30 '12 at 18:12
    
You could try doing a check If created by (or modified by) is part of a group, do something, but this has never really worked well in my experience. I suppose you could create a separate tracking list of approved people (person/group column) and look up against that. –  PirateEric May 30 '12 at 18:27
    
if this were done via a Visio workflow, or a custom-coded workflow, could the permissions restrictions be included into the workflow easier? –  Thomas W. May 30 '12 at 18:28
    
Most likely yes as you'd be able to enumerate the users permissions and groups easier. –  PirateEric May 30 '12 at 18:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.