Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 764
  • Last Modified:

Change Item Permissions with Custom Infopath Workflow

I have an Infopath 2007 form running on MOSS 2007 with Infopath Form Services using a custom workflow. I am looking to do two things:

1. Our expense reporting process allows for an administrative assistant to submit expense reports for executives. However, ithe executvie then has no permissions to view or edit the item. After an expense report is submitted, I need to allow the executive view/edit permissions to the item (the admin who submitted it already has permissions). The field that tracks who submitted the form is SubmittedBy and the field that tracks who the report is for is EmployeeName.

2. Once the approval process is completed, a field called Processing Status displays "Completed". Once that status is changed to completed, I need the entire form to become read only, so that no further changes can be made to it.

Thanks in advance.


MFI-Expense-Report-Approval.txt
0
Ritchie Scott
Asked:
Ritchie Scott
  • 2
  • 2
2 Solutions
 
Robbie_LeggettCommented:
Install the SPD Workflow actions from this link:
 
http://www.codeplex.com/SPDActivities
 
You can then add a clause into the initial workflow, which grants a specific user permission on the specific item.
 
:-)
0
 
Ritchie ScottIT ManagerAuthor Commented:
This is great for my first question. Thanks for the link. Any ideas on the second part?
0
 
AndornagyCommented:
There is a "Delete List Item Permission Assigment" Activity in above CodePlex Activities. Multiple workflow can be assigned to one item (run on modifed).
0
 
Ritchie ScottIT ManagerAuthor Commented:
Still looking for the second part of the question.
0
 
AndornagyCommented:
Add to your workflow:
When field Processing Status is Completed "Delete List Item Permission Assigment" to all granted permissions expect the read one.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now