Workflow 2010 set list item permissions
I have a sharepoint 2013 list set up with two kinds of users (Approver and Employees) needing access:
Approvers - need full control on the list/site
Employees - can only have edit/read access to their own list item or entry
I'm using SPD 2013 with workflow 2010 platform, the workflow runs when approvers submits an entry (via people picker) for an employee. The part I'm having trouble with is granting
employees their permissions above when the item is created.
Following a web example, in the impersonation step I'm simply using add list item permissions action to grant the employees.
In another workflow I'm sending them notification to the edit form, but they can't access the link.
If I add the employees in one of the site's permissions group like visitors group then they can access the list but that would give them access to everything.
Hope I explained the issue well, please let me know if anything is not clear. Thanks in advance!
Hi
That's not actually true, when you create a group in sharepoint you don't need to assign it any permissions, i.e.
you create a group called 'NewListViewers' and don't assign it any permissions to the site
you add members to this group (they have no permissions to the site or content within the site)
you then customise the permissions of a list and grant this new group whatever permission you want (presumably contribute), the group only has permission to the list. Add the approvers group with full control and your done.
As for having users read only own items, simply amend the advanced settings read access to be '<label for="ctl00_PlaceHolderMain_ItemLevelSecuritySection_ctl09_RadReadSecurityOwn">Read items that were created by the user</label>', now
they can only view/edit their own items and approvers can see everything.
Regards
Sergio Giusti Sergio Blogs
Linked
In Profile
Whenever you see a reply you think is helpful, click Vote As Helpful.
Whenever you see a reply you think is the answer to the question, click Mark As Answer.
Similar Messages
-
Start a workflow for a list item that was created by someone else
What settings do I need to change so that I can start a workflow for a list item created by another user?
I have a SharePoint 2013 workflow (let's call it LSR Status Workflow) that is associated with a list (called
LSR List). When a user creates an item in the LSR List, it automatically starts the
LSR Status Workflow. That is what I wanted, but sometimes I make changes to the workflow (via SharePoint designer) and then I would want to terminate the existing workflows that are running and restart them.
When I try to start a workflow for anyone other than a list item that I created, I get the following error:
Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP NotFound to https://publishing.web.company.com/sites/mysite/_vti_bin/client.svc/web/lists/getbyid(guid'1f844b8f-19aa-4587-bcc2-dfb7085f36b5')/Items(31)
Correlation Id: 8efc5304-f0a3-90f6-8ece-6875bf811869 Instance Id:
60c83aae-5c25-4ee8-9c85-c64958ba701e
Then when the workflow is finally suspended after it keeps retrying, it reports the following error:
RequestorId: 8efc5304-f0a3-90f6-0000-000000000000. Details: An unhandled
exception occurred during the execution of the workflow instance.
Exception details: System.ApplicationException: HTTP 404
{"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["36"],"SPRequestGuid":["8efc5304-f0a3-90f6-9bbd-d18d4d90af1b"],"request-id":["8efc5304-f0a3-90f6-9bbd-d18d4d90af1b"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4551"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue,
10 Feb 2015 22:36:44
GMT"],"Set-Cookie":["BIGipServerpublishing-blv-80-pool=2825582466.20480.0000;
path=/"],"Server":["Microsoft-IIS/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
at
Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
context) at
System.Activities.CodeActivity.InternalExecute(ActivityInstance
instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at
System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
executor, BookmarkManager bookmarkManager, Location resultLocation)
If I created the list item, I can stop it and restart it without any problems, but this is not the case for list items created by someone else.
What settings do I need to change so that I can start a workflow for a list item created by another user? I am the owner of the SharePoint site and am able to make changes to permissions if needed.You don't need to re-do the fields. If you create a new version of the PDF
file just open the old one and use the Replace Pages command to insert the
pages from the new version over the old ones. This will give you a new
version of the file, with the existing form fields still in tact. Of
course, you might need to adjust their location and/or size, but at least
you won't have to start all over again...
On Thu, Jan 22, 2015 at 11:59 PM, Laura Holancin <[email protected]> -
Generate Report -List item permissions against Each list Item
Hi,
I want to get "Item Permission" against each list item from List.
I need to prepare a Report from this Information.
Can anyone please help to get "Item Permission" against each listHi,
About how to enumerate permissions of each items using PowerShell, code snippet provided by Nancy in this similar thread would be helpful:
https://social.technet.microsoft.com/Forums/sharepoint/en-US/509b7ea1-bd54-4fe3-842b-32fdc52e4f73/enumerate-list-item-permissions
With the data retrieved, then you can export it to a .csv file:
http://blogs.perficient.com/microsoft/2013/01/how-to-combine-powershell-cmdlet-output-in-a-single-csv-file/
Best regards
Patrick Liang
TechNet Community Support -
ECMA script for checking active workflows for an list item
Hi i am having more than 1 workflow associated with the list if there is any workflow that is active for an item then i need to prevent starting another workflow for the same item. I am using the following code to achieve the same. Can anyone please provide
me the ECMA object model equivalent for achieving the same.
//Check for any active workflows for the document
private void CheckForActiveWorkflows()
// Parameters 'List' and 'ID' will be null for site workflows.
if (!String.IsNullOrEmpty(Request.Params["List"]) && !String.IsNullOrEmpty(Request.Params["ID"]))
this.workflowList = this.Web.Lists[new Guid(Request.Params["List"])];
this.workflowListItem = this.workflowList.GetItemById(Convert.ToInt32(Request.Params["ID"]));
SPWorkflowManager manager = this.Site.WorkflowManager;
SPWorkflowCollection workflowCollection = manager.GetItemActiveWorkflows(this.workflowListItem);
if (workflowCollection.Count > 0)
SPUtility.TransferToErrorPage("An workflow is already running for the document. Kindly complete it before starting a new workflow");
}Hi,
According to your post, my understanding is that you wanted to use ECMA script to check active workflows for an list item.
You can use the Workflow web service "/_vti_bin/workflow.asmx"
- GetWorkflowDataForItem operation in particular.
Here is a great blog for you to take a look at:
http://jamestsai.net/Blog/post/Using-JavaScript-to-check-SharePoint-list-item-workflow-status-via-Web-Service.aspx
In addition, you can use
SPServices. For more information, please refer to:
http://sharepoint.stackexchange.com/questions/72962/is-there-a-way-to-check-if-a-workflow-is-completed-using-javascript
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Collect data from User workflow error updating list item
Hi, can someone please help me with WSS 3 workflows?!
I'll keep it simple - I have a workflow step "Collect data from user" that will fail with Unknown Error when attempting to update list item (this is after the user has clicked Complete Task). The workflow does not continue past this step and I have
to terminate the workflow.
What is odd, is that if I do another Collect data from User in the same step but following the 1st collect, both will work!! How can this be?? This proves the 1st collect is OK so why won't it run without another Collect data after it?! Doesn't make sense to
me.
I was just trying the second Collect to troubleshoot the issue. I've tried other actions there but having another Collect does seem to be the action that kicks things into life. Is there a clue here?
Any clues would be much appreciated as I'm not able to turn much up when I Google.
ThanksWell, surprise, surprise, this has come back (thought it might!). The trace logs show it's a task locked error but I can't see how. Can anyone please provide me with some clues??
03/14/2014 12:30:25.11 w3wp.exe (0x7698) 0x5EA4 Windows SharePoint
Services Web Controls 88wy Medium SPDataSourceView.ExecuteSelect()
- selectArguments: IsEmpty=True, MaximumRows=0, RetrieveTotalRowCount=False, SortExpression=, StartRowIndex=0, TotalRowCount=-1
03/14/2014 12:30:28.39 w3wp.exe (0x7698) 0x6C4C Windows SharePoint Services
Web Controls 88wy Medium SPDataSourceView.ExecuteSelect() - selectArguments:
IsEmpty=True, MaximumRows=0, RetrieveTotalRowCount=False, SortExpression=, StartRowIndex=0, TotalRowCount=-1
03/14/2014 12:30:28.47 w3wp.exe (0x7698) 0x6C4C Windows SharePoint Services
Web Controls 88wy Medium SPDataSourceView.ExecuteSelect() - selectArguments:
IsEmpty=True, MaximumRows=0, RetrieveTotalRowCount=False, SortExpression=, StartRowIndex=0, TotalRowCount=-1
03/14/2014 12:30:29.86 w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 72er Medium Microsoft.SharePoint.SPException: This task is currently locked by a running workflow and cannot
be edited. at Microsoft.SharePoint.SPListItem.PrepareItemForUpdate(Guid newGuidOnAdd, SPWeb web, Boolean bMigration, Boolean& bAdd, Boolean& bPublish, Object& objAttachmentNames, Object& objAttachmentContents, Int32&
parentFolderId) at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean
suppressAfterEvents) at Microsoft.SharePoint.SPListItem.Update() at Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitUpdateListItem(Transaction txn, Object[] transData)
03/14/2014 12:30:29.86 w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 72fe High Error in commiting pending workflow batch items: Microsoft.SharePoint.SPException: This
task is currently locked by a running workflow and cannot be edited. at Microsoft.SharePoint.SPListItem.PrepareItemForUpdate(Guid newGuidOnAdd, SPWeb web, Boolean bMigration, Boolean& bAdd, Boolean& bPublish, Object& objAttachmentNames,
Object& objAttachmentContents, Int32& parentFolderId) at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion,
Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents) at Microsoft.SharePoint.SPListItem.Update() at Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitUpdateListItem(Transaction txn, Object[]
transData) at Micro...
03/14/2014 12:30:29.86* w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 72fe High ...soft.SharePoint.Workflow.SPPendingWork.PerformWorkNow(Transaction txn)
at Microsoft.SharePoint.Workflow.SPPendingWorkBatch.Commit(Transaction transaction, ICollection items)
03/14/2014 12:30:30.05 w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 88xr Unexpected WinWF Internal Error, terminating workflow Id# 2dc6002d-9f9d-474f-84cf-329025347ec5
03/14/2014 12:30:30.05 w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 98d4 Unexpected System.Workflow.Runtime.Hosting.PersistenceException: This task is currently locked by a running workflow
and cannot be edited. ---> Microsoft.SharePoint.SPException: This task is currently locked by a running workflow and cannot be edited. at Microsoft.SharePoint.SPListItem.PrepareItemForUpdate(Guid newGuidOnAdd, SPWeb web, Boolean
bMigration, Boolean& bAdd, Boolean& bPublish, Object& objAttachmentNames, Object& objAttachmentContents, Int32& parentFolderId) at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion,
Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents) at Microsoft.SharePoint.SPListItem.Update() at Microsoft.SharePoint.Workflow.SPWi...
03/14/2014 12:30:30.05* w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 98d4 Unexpected ...nOEWSSService.CommitUpdateListItem(Transaction txn, Object[] transData) at
Microsoft.SharePoint.Workflow.SPPendingWork.PerformWorkNow(Transaction txn) at Microsoft.SharePoint.Workflow.SPPendingWorkBatch.Commit(Transaction transaction, ICollection items) at System.Workflow.Runtime.WorkBatch.PendingWorkCollection.Commit(Transaction
transaction) at System.Workflow.Runtime.WorkBatch.Commit(Transaction transaction) at System.Workflow.Runtime.Hosting.WorkflowCommitWorkBatchService.CommitWorkBatch(CommitWorkBatchCallback commitWorkBatchCallback)
at System.Workflow.Runtime.Hosting.DefaultWorkflowCommitWorkBatchService.CommitWorkBatch(CommitWorkBatchCallback commitWorkBatchCallback) at System.Workflow.Runtime.WorkflowExecutor.CommitTransaction(Activity activityContext)
03/14/2014 12:30:30.05* w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 98d4 Unexpected ... at System.Workflow.Runtime.WorkflowExecutor.Persist(Activity dynamicActivity, Boolean
unlock, Boolean needsCompensation) --- End of inner exception stack trace --- at System.Workflow.Runtime.WorkflowExecutor.Persist(Activity dynamicActivity, Boolean unlock, Boolean needsCompensation)
at System.Workflow.Runtime.WorkflowExecutor.System.Workflow.ComponentModel.IWorkflowCoreRuntime.PersistInstanceState(Activity activity) at System.Workflow.ComponentModel.Activity.MarkClosed() at System.Workflow.ComponentModel.Activity.ReleaseLockOnStatusChange(IActivityEventListener`1
eventListener) at System.Workflow.ComponentModel.FaultAndCancellationHandlingFilter.SafeReleaseLockOnStatusChange(ActivityExecutionContext context) at System.Workflow.ComponentModel.FaultAndCancella...
03/14/2014 12:30:30.05* w3wp.exe (0x7698) 0x7A94 Windows SharePoint Services
Workflow Infrastructure 98d4 Unexpected ...tionHandlingFilter.OnEvent(Object sender, ActivityExecutionStatusChangedEventArgs e)
at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime) at System.Workflow.Runtime.Scheduler.Run()
03/14/2014 12:30:30.38 w3wp.exe (0x7698) 0x6C9C Windows SharePoint Services
General 0 Unexpected ERROR: request not found
in the TrackedRequests. We might be creating and closing webs on different threads. ThreadId = 59, Free call stack = at Microsoft.SharePoint.SPRequestManager.Release(SPRequest request) at Microsoft.SharePoint.SPWeb.Invalidate()
at Microsoft.SharePoint.SPWeb.Close() at Microsoft.SharePoint.SPSite.Close() at Microsoft.SharePoint.SPSite.Dispose() at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflow(SPWorkflow
workflow, Collection`1 events, SPRunWorkflowOptions runOptions) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflow(SPWorkflow workflow, Collection`1 events) at Microsoft.SharePoint.Workflow.SPWinOEItemEventReceiver.RouteWorkflowEvent(SPItemEventProperties
properties, SPWeb web, SPListItem item, Boolean fNeedTas...
03/14/2014 12:30:30.38* w3wp.exe (0x7698) 0x6C9C Windows SharePoint Services
General 0 Unexpected ...kReset)
at Microsoft.SharePoint.Workflow.SPWinOEItemEventReceiver.ItemUpdated(SPItemEventProperties properties) at Microsoft.SharePoint.SPEventManager.RunItemEventReceiver(SPItemEventReceiver receiver, SPItemEventProperties properties, SPEventContext
context, String receiverData) at Microsoft.SharePoint.SPEventManager.RunItemEventReceiverHelper(Object receiver, Object properties, SPEventContext context, String receiverData) at Microsoft.SharePoint.SPEventManager.<>c__DisplayClass8`1.<InvokeEventReceivers>b__0()
at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state) at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken
03/14/2014 12:30:30.38* w3wp.exe (0x7698) 0x6C9C Windows SharePoint Services
General 0 Unexpected ...userToken, CodeToRunElevated
code) at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](SPUserToken userToken, RunEventReceiver runEventReceiver, Object receivers, Object properties, Boolean checkCancel) at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](Byte[]
userTokenBytes, RunEventReceiver runEventReceiver, Object receivers, Object properties, Boolean checkCancel) at Microsoft.SharePoint.SPEventManager.HandleEventCallback[ReceiverType,PropertiesType](Object callbackData)
at Microsoft.SharePoint.Utilities.SPThreadPool.WaitCallbackWrapper(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode
code, CleanupCo...
03/14/2014 12:30:30.38* w3wp.exe (0x7698) 0x6C9C Windows SharePoint Services
General 0 Unexpected ...de backoutCode, Object
userData) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback
tpWaitCallBack) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state) , Allocation call stack (if present) null -
Hi,
I have requirement in Sp Designer 2010,Get List item URL and insert in another list as one column value.When open another list and click on same item column entry url will show the parent item information.
Here i have create work flow and insert item URL in another list but cant find appropriate item url information.I can easily make item url link through String builder in mail body with using current id and predefine link,but
when try to insert the same type of item link in another list where i cant find string builder for create custom url link,only get valur of Path,URL,Absolute URL and Relative server URL,all these links or not provide me exact
item link dispaly information.
So I opened SharePoint Designer and start creating the workflow associated to the list.
As there is some Field from source related to current item URL I start using it
Encoded Absolute URL – this one should be the one to use
Server Relative URL
URL Path
Unfortunately, none of these options were providing the correct link. Indeed, these options are providing an incorrect path:
Encoded Absolute URL
http://wfe1/Lists/bpf/1_.000
Server Relative URL
/Lists/bpf/1_.000
URL Path
/Lists/bpf/1_.000
As you can see, the item URL is composed by an ID while it should be http://wfe1/Lists/bpf/dispform.aspx?id=1
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Share Point Application Developer,TCSUnfortunately, [%Current Item:URL%] doesn't seem to be available from a "Site Workflow" associated to a List. I'm finding less advantages to doing a "Site Workflow" when I don't necessarily need to. One problem is the workflow is initiating
twice. I'm thinking I should have just created the workflow as a a "List Workflow."
I am going to try "Association Columns" -- that may work. Anyone have other suggestions? -
Error when running workflow form list item - workflow manager SharePoint 2013
I am getting the following error in the workflow services log when I tried to run a SPD 2013 workflow from as list item. The workflow page comes up with an "An unexpected error has occurred"
page when opened:
Error processing management request. Method: GET, RequestUri: http://servername:12291/$Workflows/$Instances?$skip=0&$top=100&monitoringParameter=1f51aa43-2f1c-4fc5-a86d-f638ca57c00d, Error: System.Data.SqlClient.SqlException (0x80131904): The procedure "GetInstances" has no parameter named "@OtherWorkflowStatus".
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Gateway.HttpAsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Gateway.WorkflowServiceGateway.<>c__DisplayClass9d.<EndGetInstances>b__9c()
at Microsoft.Workflow.Gateway.WorkflowServiceGateway.ExceptionFilter[T](Func`1 body)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
ClientConnectionId:d2039360-b352-4d81-9bb7-b647e2938d06
Can't find anything on google.
Edit: Ok, when I look at the error, it is saying the the "GetInstances" stored procedure in the WFInstanceManagementDB database does not have a parameter named "@OtherWorkflowStatus".
For laughs, I added the parameter (which wasn't in there). Now I get the error:
Procedure or function 'GetInstances' expects parameter '@OtherWorkflowStatus', which was not supplied
It seems like there is something not right about my installation. Previously, I couldn't get the workflow backend service to run because there were config values missing from the workflow manager database. At the time I tried to uninstall/reinstall
WFM to no avail. I eventually had to manually add the values to get it to work. Something is not right about the WFM install/config process.Here is what I had to do to get it working:
Leave the WFM (Workflow Manager) farm using the WFM config tool
Uninstall WFM, Service Bus, and the CU's from control panel
Uninstall Workflow Manager Client if it exists in the control panel, it didn't in mine
Delete the following databases in SQL Server:
SbGatewayDatabase
SbManagementDB
SBMessageContainer01
WFInstanceManagementDB
WFManagementDB
WFResourceManagementDB
Delete the workflow proxy service in Central Admin (important)
Application Management > Manage Service Applications
Highlight (select) the Workflow Service Application Proxy service (don’t click the hyperlink)
Select “Delete” from the ribbon.
Restart the server
Reinstall
Enable the workflow proxy service in CA for the web app, the 2013 workflow option will not show up in SPD unless you do this.
Application Management > Manage Web Applications
Select your web app
Select “Service Connections” from the ribbon
Check the Workflow Service Application Proxy item and click “OK” -
How to again add workflow to workflow completed list item?
Hi All,
How to again add workflow to workflow completed list item?Thanks!Hi,
According to your description,my understanding is you want to add a new workflow to the completed list item.
a) If yes, then you need to follow the same process attaching the workflow to the list/library and while deploying the workflow you should select the option "Allow this workflow to be manually started.......".
Go to the workflow completed list item and start the workflow which was created newly in the above step.
b) If your query is want to restart the same workflow for completed list item then,
You need to go to the workflow completed list item-->workflows-->start/click on the workflow again.
To do this, you might have selected the option "Allow this workflow to be manually started......." while attaching the workflow to the list.
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ******************************************************************************************
s p kumar -
I have a workflow 2013 calling workflow 2010 so that 'declare a record' can be called. I am doing that so that once a user has submitted a custom list to the workflow, they can not make any changes.
The problem is I have other steps that I want to happen in the workflow like having an authorized person accept or reject the request.
The problem is the custom list is read-only and that prevents the next step from being executed. I want the custom list to be 'read-only' or 'view-only' first since it may be awhile until the next people to approve or reject the custom list
that has been submitted.
Thus can you tell me what I can do to solve this problem and how steps should I follow to solve my problem?Hi DianeMidnight,
From your description, my understanding is that you want to make the user unable to edit the item after he submitted an item to wait for an approval.
As you said, after we declare the item as a record, the item will be ready-only, we cannot do anything again for the item.
For your issue, I suggest you edit your SharePoint 2010 workflow, delete the action “Declare Record” and add an Impersonal Step into it, then use “Replace List Item Permissions” to replace the creator’s current permission. You can set your SharePoint 2010
workflow like:
More information about the action, you can refer to the link:
https://support.office.microsoft.com/en-us/article/Workflow-actions-in-SharePoint-Designer-2010-A-quick-reference-guide-5a7ad276-0ed7-49b0-b652-e56a77dd96c6?CorrelationId=248aa4b2-158c-47dd-a91c-9a75bc9184b1&ui=en-US&rs=en-US&ad=US#__toc260831314
After running the above workflow action, the creator will only have view permission on the item.
After the approver approves or rejects the request, based on your requirement, you can also use the action to replace user’s view permission with Edit or other permissions .
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support -
SPListItem deleting save the list item into another list.
Hi Friends,
Using SPList Item deleting event receiver ,before deleting the item I want save the list item to the another SharePoint list.
How can we do this using event receivers.Please help me anyone.
Thanks,
Tiru
TiruBefore delete the item, use the below logic
http://stackoverflow.com/questions/1075323/copy-list-items-from-one-list-to-another-in-sharepoint
or
You can do this by 2 workflows one creating list item by copying and second workflow on the copied item which will delete the original list item.
http://sharepoint.stackexchange.com/questions/93441/move-items-from-one-list-to-another-list-using-sharepoint-designer-2010
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/100c0b3c-72d9-4427-a48f-8300be508aa2/how-do-i-copy-the-items-in-a-sharepoint-2010-list-to-another-list?forum=sharepointgeneralprevious -
In SharePoint 2010 I created workflows that used the 'Create list Item' Action, which then set the Content Type ID (so I could create documents of various types in a document library).
We just switched to the SharePoint 2013 platform, and now the drop down for Content Type ID is blank in all of the workflows that are still using the SharePoint 2010 platform. Is there any way to create a list item with specific content
type? Even if I could just input a string into that field instead of using this blank drop-down. Please help!Hi Sarah,
According to your description, my understanding is that you cannot create a new list item with a specific content type using SharePoint 2010 Platform Workflow.
I tested the same scenario in my environment, and the Create List Item worked fine with the specific content type.
How did you create the content type?
Please check if the content type is added to the list/library the workflow associated with.
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
How to send current list item URL in email by using sharepoint 2010 workflow?
Hi All,
I had created sharepoint workflow usind SPD 2010. when new item is created it sends the email with link. But it sends current list link not the current item link.
I tried to use Encoded Absolute URL but this like
http://asdf.com/Lists/abc/10.00
but i need something like this
http://asdf.com/Lists/abc/DispForm.aspx?ID
I have grow thorough some post and i found that,
Statically i can write http://asdf.com/Lists/abc/DispForm.aspx?ID= and from Add lookup i can get ID by choosing current item.
The link which i get is partially hyperlink like this
http:aasdf.com/Lists/abc/DispForm.aspx?ID=10 (here 10 is not hyperlink)
when i copy and paste this link it works fine but by clicking it i am not getting true result.
Please help me to solve this issue.
Thanks.Hi Raymond,
It works for me. Thank you so much.
I also have another issue related workflow. If you can help me, i really appreciate you.
I already configured AAM. I have two Share Point Address which are:
Default : http://default.com
Internal : http://intranet.com
I have List workflow using SharePoint Designer 2010. When new item get create, it sends email to person for approval. But when it sends email it sends Dafault zone URL.
Dafault zone URL is only accessible through Virtual Machine. We cant access from local machine. So i need to send intranet zone URL in email so user can open through local machine.
I tried it but i can only able to do for one list. I have to so this general for every list.
How can i send intranet zone URL?
Swapping the zone URL is not solution for this issue because after swapping situation is same.
Thank You. -
Create List Item using SharePoint 2010 Workflow
Hello everyone.
I found in youtube video using SP Employee Onboarding Web Part, idea is quite simple and powerful. But this web part available only in SP 2013, and I use 2010. So I wanted to develop my own version.
Questions is:
I have 2 lists Employee OnBoards (list contains data about new employee) and Employee OnBoards Tasks (list contains approval task). Where field Employee Name from Employee OnBoards list is lookup field in Employee OnBoards Tasks list.
I need emplement next:
When new Item created in Employee OnBoards list, it should copy Employee Name value to the Name field of the Employee OnBoards Tasks list.
I hope I explained understandable.
Thanks.Hi Azamat,
This you can do by using SharePoint Designer workflow.
Create a sharepoint designer workflow and invoke that when new item will create in the list Employee
OnBoards.
then use Copy List item action to copy employee name to employee on board task list.
Below link will help you how to use copy list item action in a workflow.
http://blogs.salmanghani.info/copy-item-workflow-using-sharepoint-designer-2010/
Hope this will help you.
Regards
Soni K -
SharePoint 2010 and Designer 2010.
We have a list of items that users enter information into. Only the user who enters the data can see the item. It's confidential stuff.
One field is the name of the person who will approve this record.
Workflow sends approver an email and sets a task to approve the item.
Problem is that the user set as approver cannot see the item.
We can't have a list of approvers - as all staff can potentially be approvers.
We can't allow anyone other than the person who created the item and the person that is set as approver in a field to have access.
I am not a programmer, but a user of SharePoint Designer 2010.
(I did think we had this sorted by sending an email containing all the list item fields, but this task still requires permissions).Hi ,
I understand that after you grant user permission on current item ,the user still cannot approve the workflow task .This is because the user doesn't have approve permission in the Tasks list .You only grant the user permission on current item in current
list ,so he can approve the item by clicking the Approve/Reject in the edit control block .
Your workflow is correct ,now you need to grant the users Approve (a permission level) permission in the Tasks list settings .In this way ,the users can finish the tasks .
Thanks
Entan Ming
TechNet Community Support -
SharePoint: Workflows - Emailing hyperlink of list item.
I have a custom SharePoint (2013) list to manage tasks assigned to personnel and keep track of their statuses. I've created a workflow using SP Designer to send out an email to whom the task is assigned on the date for which it's due.
The workflow is working properly and email alerts are being sent, except for one thing. Inside the email body is a hyperlink to the associated record which the recipient clicks on to view (only view, not edit) the task details.
I got the record's hyperlink by accessing it's display form and copying the URL from the browser, pasting it into the email body. The URL's format looks something like this:
http://zeroshiki/sites/SP2010-Main-Site/Lists/Announcements/DispForm.aspx?ID=2&ContentTypeId=0x0104000933421F36DFF740B428FEC15871B493
Then I modified the URL by formulating a lookup to include the ID of the Current Item. In other words, the ID specified in the URL isn't fixed; it's based on the associated list item.
I've confirmed that when the recipient recieves an email, the ID in the URL matches the record's ID on the site. However, when they click on the link and are redirected to the record's display page, there's no data displayed. The fields are visible but the
values are not. Then I noticed that the URL in the browser does not match the one in the email; it's missing an ID value.
So when the URL in the email is ...DispForm.aspx?ID=2&ContentTypeId... it changes to ...DispForm.aspx?ID=&ContentTypeID...
Why does this happen? This method may seem strange to use, but I've tried looking up the "Encoded Absolute URL" and I get an error stating that the return type of the lookup is invalid. That's why I manually copied the URL format and formulated
the record ID.
Am I doing something wrong here? Is there a more straight-forward approach to retrieving the record's URL?Hi,
According to your post, my understanding is that you wanted to send email with hyperlink.
In order to solve the problem more efficiently I need to clarify some information.
Did the hyperlink is the current item URL?
How did you set the hyperlink?
Per my knowledge, the "Encoded Absolute URL" result is https://sitename/Lists/listname/Id_.000
To get the current item URL, I recommend to we can use [%Workflow Context:Current Item URL%] with SharePoint Workflow 2010 platform,
Here is a similar thread for you to take a look at:
http://social.technet.microsoft.com/Forums/en-US/7dd2d0cb-97ff-4d9f-9c43-57109bb6bb3d/send-email-of-created-item-to-all-the-staff?forum=sharepointcust
Thank you for your understanding.
Best Regards,
Linda Li
Linda Li
TechNet Community Support
Maybe you are looking for
-
How can I disable sending from one Mail account?
Hello. I have a gmail account that I use to subscribe to various newsletters and accounts. So it's essentially a read-only account for me. But I too frequently accidently send mail from that account. Is there a way to prevent mail from being sent fro
-
This one might require some back story. I'm working at a company with roughly 60 business units that will each be getting their own emergency response procedures (.FM files compiled into a single FrameMaker .book file for their department). I then wa
-
EA6400 - Unable to access other local network devices
This is odd and it just recently started acting this way. No, I didn't have any configuration changes recently. I have an EA6400 wireless router. Many devices are connected to it via Wireless (2 iPhones/2 iPads/3 Blu-Ray Players/1 Ubuntu laptop/1 W
-
my location services is already on as well as with my facebook apps, but still i am unable to check in. what's wrong? even with my maps, it always say location unavailable. help please.
-
Ever since I installed v7 I occasionally get what I will call random "stuttering" or skipping during playback. Stopping and restarting playback seems to help at least for awhile. It is related to iTunes on my PC and not my iPod because the problem do