Solved

Change Item Permissions with Custom Infopath Workflow

Posted on 2008-10-20
5
755 Views
Last Modified: 2012-06-22
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
Comment
Question by:Ritchie Scott
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 25

Accepted Solution

by:
Robbie_Leggett earned 125 total points
ID: 22758016
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
 

Author Comment

by:Ritchie Scott
ID: 22759728
This is great for my first question. Thanks for the link. Any ideas on the second part?
0
 
LVL 6

Expert Comment

by:Andornagy
ID: 22768198
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
 

Author Comment

by:Ritchie Scott
ID: 22824726
Still looking for the second part of the question.
0
 
LVL 6

Assisted Solution

by:Andornagy
Andornagy earned 125 total points
ID: 22828913
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question