Hot answers tagged

7

SharePoint uses the default URL for links in alerts and workflows that are automatically kicked off. The workflow system doesn't have any way of knowing which alternate access mapping any given user would use when logging into SharePoint, so it just builds the link using the Default zone since it has no other info to go on. Without diving into fully ...


5

I wouldn't do this with workflow, I would do this in a PowerShell script that runs on the server, set it up in a Task Scheduler, and let it run every Monday. The script would kick off the workflow that you want, or alternatively use the PowerShell script to compile and send the email instead of the workflow.


4

To do this you will need to use an Information Management Policy I found this tutorial which may help you. How to configure a yearly reminder on a SharePoint document


4

Make sure SharePoint server have the WorkFlow Manager installed and configured. WorkFlow Manager also requires ServiceBus to be installed Then run the following commands in the SharePoint Management Shell: Register-SPWorkflowService -SPSite 'http://localhost:24000' -WorkflowHostUri 'https://localhost:12290' -AllowOAuthHttp -Force $WmsSap = Get-...


3

Just resolved my problem. If you want to send an email to user in person field, the recipient configuration should look like this:


3

Date fields are never truly empty, so the option doesn't exist. An "empty" date field is actually set to 1/1/0001. So for your specific project, forget the whole "storing the string values of the dates" thing, that won't work. Instead, set up the workflow to perform the action if Date field is greater than 1/1/0001.


3

You can set up retention policy to start a workflow when any condition (in your case closing data is today) is satisfied. In that workflow you can set step to delete the item. This way multiple items can trigger workflow to do the required functionality.


2

You can use Information Management Policies. Go to the list's advanced settings, and change allow mgmt of content types to YES. In list settings in the list of content types, there will only be one, called Item. Click Item. Click Information Management Policy settings. check the box next to Enable retention Then click on Add retention stage next to This ...


2

Design the HTML needed in the body Create a new HTML page from File > New > HTML. In the new pane, select Split view from the bottom left corner of the screen. There are two considerations when you use HTML in workflows : Consideration 1 Workflow e-mails do not support class-based styles. All the formatting must be done using inline styles. If you ...


2

Add similar code in your mail body <style type="text/css"> P.FontStyle { font-weight: bold; } </style> use the class name in your mail content. For Ex. <p class="FontStyle">Hello User</p>,<br/> <p> Your other body text goes here</p> So finally your code should look like <style type=...


2

You shouldn't need anything in the RequestContent field. Set RequestType to HTTP POST. Set RequestHeaders to your Dictionary 1 dictionary. You already have the Accept and Content-Type headers in this dictionary. But you need to add the X-HTTP-Method header and set its value to DELETE. And also add the IF-MATCH header and set its value to *. Get rid of the ...


2

You should be able to accomplish what you want by using calculated columns, tedious I know but sometimes that's just SharePoint. Try the following link to get the formula that you want to put in your columns Using calculated field to retrieve substring of another field


2

You need not to do all this. you just need write below formula for your field Current Status. =[Project Status] Since you just need replica, you can use the column value as is.


2

First You have to create a Site workflow for this.Not a list workflow for site feed. In the site workflow we have to create a loop. Site Workflow In the workflow first we have to create an infinite loop and wait for a item adding event for Microfeed list. Then in the email action we can add lookups for the attributes in the item. In the add look ...


2

Because you are using a custom workflow, I assume you have an Start Approval Process action in your workflow. In this scenario, you need to do two things: In the workflow just before the "Start Approval Process" action set the EnableContentApproval workflow variable to Yes. Note that this workflow variable is automatically created when you add the "Start ...


2

Assuming your workflow is an out-of-the-box Approval workflow or a workflow that has been created using the 2010 platform (containing the "Start Approval Process" action), then you need to use the Workflow Item ID field (internal name is WorkflowItemId). If your tasks are created by a workflow using the 2013 platform containing the "Assign a task" or the "...


2

The OOTB way to do this would be to create your workflow as you want it and add a stage at the end. In this stage put in a Pause action. You can set this for 7 day (or 168 hours). For your Transition to stage, have it redirect back up to the first stage. The downside of this would be that you have to manually start it that first time on Monday. It would ...


2

First, every SharePoint list has a unique column and it's titled ID or OWS_ID. Do you need a workflow or an event handler? Edit. Your question is real broad and there are tons of online resources geared towards creating Visual Studio SharePoint workflows. Suggest you try one of the tutorials, then come back to this site with an exact question. MSDN - ...


2

Yes it is possible through SPD 2013 workflow along with REST Webservice call. Follow the steps below, Create a list workflow for the list where Column1 is present Configure the workflow to get triggered on Item Adding and Item Edit Edit the workflow Build a dictionary with below parameters and set output variable as Request Header accept : application/...


1

SharePoint cannot email itself. It adds an X-Mailer header into the message that prevents message loops. SharePoint Cannot Send Mail to Itself


1

I would suggest a change in your information architecture. Instead of two disconnected Lookup fields, only have a single Lookup for "State". Within the source list, each "State" should have an associated "Country" as a separate field value. Then as part of the "State" Lookup in the local list, you can use the 'Additional Fields' option (i.e. Projected ...


1

You could try using the alerts, but out-of-the-box, any user subscribed to alerts will get notified of any changes done on any item. You could try something like this in item added and item updated event receivers. However that would be an overkill. Or, you could send an email directly from ItemUpdated event receiver using SPUtility.SendEmail.


1

Since the folders will be mostly static, you could add a dropdown with all the folder names and require that users the select the correct folder. Then with a workflow, if the folder they put it in doesn't match the dropdown selection, copy the file into the dropdown folder and delete the original. Though I really think, on principle, if the number of people ...


1

If you need to know the current logged in user: SPWeb theSite = SPControl.GetContextWeb(Context); SPUser theUser = theSite.CurrentUser; string strUserName = theUser.LoginName; (http://stackoverflow.com/questions/2423268/how-to-find-the-logged-in-user-in-sharepoint) If you need to know who the creator (author) of an item is: string loginName = string....


1

In Visual Studio, you can get the person who started the workflow using SPWorkflowActivationProperties Originator property. In Designer, you can use [%Workflow Context:Initator%]


1

One way to do this would be to run the Pause Until action and set the date you'd like to send the email. You might want to create a workflow parameter and calculate, for example, due date minus 2 days. I'm assuming by the way you have worded the question that you are comfortable creating the email actions within designer through custom actions.


1

Create a local variable of type date/time. Do not assign any value. if condition : If [Contract review Date] is equal to [Local Variable]. This should work for your condition to be working.


1

Create a new variable, ReviewDateForEmail of type string. Run a check, If [%Current Item:Contract Review Date%] is not equal to 01/01/0001 Set ReviewDateForEmail to [%Current Item:Contract Review Date%] (if desired) Else Set ReviewDateForEmail to There is no set review date for this item. In your email, use the ReviewDateForEmail. This will result in ...


1

Create an initiation variable of type string and don't set a default value. Before you write Contract Review Date to your email, use an if statement to check if the date is greater than 1/1/1900. If it is, use the date... if not, use the null variable.


1

I got the solution, created a workflow and set it run on all items every night to do the following. Check workflow Screenshot - http://imgur.com/5VtnPRE Please note: Information MGMT policy didn't ran in my case and if it would have still would have ran the workflow once, wherein the first item in the list would have been checked by workflow and not all ...



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