Solved

Change Item Permissions with Custom Infopath Workflow

Posted on 2008-10-20
5
757 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
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 …

630 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