Tag Info

Hot answers tagged

8

The simple process of setting item level permission is not available for SharePoint 2013 workflows. The only way I was able to do was through REST api called under Appstep. There are 2 calls made: BreakRoleInheritance AddRoleAssignment This blog by Yuri Leontyev​ ​ over at spssite.pro can be a good start. Excerpt: BreakRoleInheritance​ ...


5

You can use the same workflow if you'd like. Just check if the created date is equal to the modified date - if they're the same, then it's just been created. If they're different, you're running in Modified mode.


5

This is by design. In Update Workflow just check if Modified Date is equal to Created Date. That means it is an update after new file upload.


5

Try replicating the same workflow with another new list. I am sure the schema of the associated list would have been corrupted. for further troubleshooting purposes, insert an email sending task or some item updating task in b/w or as a first step with some dummy content so you can know whether it is firing the workflow events or not.


4

This will be a challenge to do through Workflows. The reason being we can't get the previous value to compare and confirm which field was updated. In such use cases we should use Event Receivers. It has AfterProperties and BeforeProperties. We can use those to compare and confirm whether the field updated is DaysLeft. If you prefer workflow's then before ...


4

you can use $().SPServices <script type="text/javascript" src="/sites/sprc/Resources%20%20jQuery/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/sites/sprc/Resources%20%20jQuery/jQuery%20SP%20Services/jquery.SPServices-0.5.4.min.js"></script> <script type="text/javascript"> function StartWorkflow(ItemURL, ...


4

Check out http://www.viewmaster365.com/#/How and http://www.viewmaster365.com/#/Create/ActionDelete It step by step explains how to execute JavaScript from a Calculated Column. The ID for an item is available on the Table Row, because a Calculated Formula is displayed inside that TR structure; all you have to do is: var ...


3

I have done this before....for fun actually as a learning exercise in a SharePoint Designer 2013 workflow for SharePoint Online using the REST API. I'm sure that you know, but you need to make use of the 'Call HTTP Web Service' action within an App Step. Use this REST endpoint to break permissions on the item: /_api/web/lists/getByTitle('YOUR LIST TITLE ...


3

No, but you can use the "Copy" function and then the "Delete" function. So you have the same "Move" functionality.


3

Copying and then deleting a document is certainly not the same as moving it. Among other things, it will not preserve the document history, if it has a document ID it will not be preserved etc. In your workflow, you just need to “Update List Item” and update the “Path and Name” field with the folder name where the document should be moved in. If the ...


3

There are two issues of note to consider when troubleshooting email issues. In both on-premises and SharePoint Online installations, ensure that all addresses on the To: and Cc: lines are valid email addresses. In on-premises installations, ensure that email settings on the server are configured correctly. Review the following to ensure that you have ...


3

I'd create an on creation workflow that does: Add time to date, -2 days from the current item, date field. This is stored as a variable for you. pause until the variable date if current item status is not complete, send email, else end the workflow This assumes you have some sort of status column that tracks the progress of the item. If you have a ...


3

You can use the Copy List Item action to copy a document from one library to another. I suggest you these useful links: SharePoint Designer Workflow: Copy a document from one library to another SharePoint Designer Workflow: Move a document from one library to another


3

Before modifying item, you should Disable event firing this.DisableEventFiring(); After finish updating you can Enable it using this.EnableEventFiring(); Identify if event is fired as part of Check-in if (properties.AfterProperties["vti_sourcecontrolcheckedoutby"] == null && properties.BeforeProperties["vti_sourcecontrolcheckedoutby"] != null) ...


3

Put a dynamic value variable in the response content box and put this in the RequestHeader box: Then after the HttpSend activity add a GetDynamicValue activity in which you extract the values you need:


3

I just tested this on SharePoint 2010 and for OOTB permission levels, it looks like you would need the Design permission level at a minimum to access the Workflow Settings in a list/library. You can also have the Manage Hierarchy permission level, but this would give you a lot more access than to just the Workflow Settings.


2

I know this is an old thread, but after spending a good while looking about I found an OOTB SharePoint Designer 2010 solution for this problem. To move a document to a different folder create an SPD2010 workflow and use the Update Item action to change the path and name of the document. After inserting the update list item action click on the "this list" ...


2

Goto central admin, Select Web application URL and click on User Policy --> For all required admins,Farm account users provide permissions as all zones with full control. Go to UserProfile service(Any SA) and select the Permissions option and all above users give the same permissions. Disable the firewall settings in all Farm servers.


2

Look at Virto Workflow Activities Kit from well-known vendor, VirtoSoftware. Use "Send Email" activity where you can specify any recipient(external or internal). Hope it help you.


2

When you're exporting and importing workflows you can only do this in the same site. If you need to copy (import) a workflow to another site the steps are a little different. First, you create a blank workflow in the destination site using SharePoint Designer. Go back to the source workflow and copy its content. Paste the content into the destination site ...


2

Instead of selecting "current Item: URL Path", try selecting, "Workflow Context: Current Item URL". That should give you the URL you need.


2

You have to include the AD Groups in the user profile sync connection. If your AD Groups are not sync'd with the UPS, then it won't be possible. Make sure the UPS Sync connection includes the containers that the AD Groups are in.


2

The names of the web applications don't have to be the same for any MOSS farm. In your case guessing from their names SSPADMIN is used for SP Shared Sevices Provider, MYSITE is used to host the users MySite and INTRANET is for other SP sites (Team sites, Meeting, etc.) Create a site collection on INTRANET and work on its top level site or create subsites.


2

I think you are looking for "Workflow Lookup for a User..". Just select "Workflow Lookup for a User.." > current item > modified by. This would send the email to the one who modified the item. Or you could just chose any other column, like created by. Or if you are using any custom People columns.


2

dam, you didnt set the auto function off... There is a time to live on workflows that occures i think by default every 60 days... once it reaches 60 days its removed by a timer job. Its active by default as its auto cleaning after two months to save on server speed and resources. If you disable it than it would over time slow sharepoint down! to sort it ...


2

You have a few options: Use an Association or Initiation Form and when creating the association you tell the workflow which lists it will be working with Use the REST API to query the list by title. You do this using the HttpSend activity.


2

Date formats are derived based on the regional settings. If you want date to be like Thursday, June 21, 2013 then change the regional settings to English(United States) You can make this change through site settings page.


2

USe the workflow context variable "Current Site URL" when building the REST url as below


2

The string builder can build only strings. Use "Do calculation" workflow action to calculate, please see example below:


2

How to approve workflow task item using JSOM The following example demonstrates how to approve task item using JSOM function approveTask(listTitle,itemId, success,error){ var ctx = SP.ClientContext.get_current(); var list = ctx.get_web().get_lists().getByTitle(listTitle); var item = list.getItemById(itemId); item.set_item('Completed',true); ...



Only top voted, non community-wiki answers of a minimum length are eligible