Showing posts with label SharePoint Designer Workflow 2013. Show all posts
Showing posts with label SharePoint Designer Workflow 2013. Show all posts

Saturday, January 23, 2021

How do I retrieve the value of a lookup-field in a workflow?

 The workflow is looking for a Date and Time field, but lookups return text. You need to return the field as Lookup text.


Set Variable: lookupStart to Current Item:Lookup: Sprint Start Date, Return fields as Lookup Value (as Text)

Tuesday, March 15, 2016

How to Backup & Restore a SharePoint Designer workflow and add it another site?


  • Go to the site you have the workflows on
  • Select Site Actions -> Edit in SharePoint Designer.
  • Select “All Files” in the Navigation, then click “Workflows”
  • Right-Click the workflow And go to “Copy”
  • SharePoint Designer. Go to your destination site.
  • Go to Site Actions -> Edit in SharePoint Designer.
  • Right Click and choose “Paste”. 
  • The workflows should be there, but they are not associated with the list 
  • SharePoint recognizes and attaches workflows to Lists and Libraries using their ListID. 
  • We can change that through the .xoml.wfconfig.xml
  • Select the “All Files” again in the navigation, then click “Workflows”, then click the workflow name.
  •  Open With -> SharePoint Designer (Open as XML).
  • Delete the ListID, and paste the ListID you copied earlier here.

Wednesday, February 24, 2016

REST API and Loop workflow to send email in SharePoint Designer 2013

We need to create Site workflow
Workflow Structure:
Declare the build in dictionary


 Call rest services:


 Get log histroy all the username

Tuesday, February 23, 2016

Before Days send reminder mail SharePoint workflow 2013 or Send an email through Sharepoint workflow one week before a date

In this blog, you can write the mail-address to the log,

Declare duedate =29/02/2016 & minus 7 days stored in date variable

After that we added condition,


Date time field only split date format only in SharePoint Designer 2013 workflow



In this article ,we have option for equal (ignoring time ) action in Sharepoint workflow.



Friday, February 12, 2016

How to add History Log to OOTB Sharepoint custom List

Scenario :

Submitted, User1, 01/11/2016
Approved, User2, 02/11/2016
Rejected, User3, 05/11/2016
Completed,User4, 05/11/2016


Set WFvar1 to Current Item:Status
Set WFvar2 to [%Variable: WFvar1%] "New Status Update Line"
Set Status to Variable:WFvar2
Set WF3 to Currentdate 

Friday, February 5, 2016

Using Dictionary Actions variables from SharePoint Designer 2013 Workflows?

Dictionary is a new kind of variable that can be used to save multiple values during the workflow .

 Three actions specifically designed for the Dictionary SharePoint WorkFlow. 


  1. Build Dictionary 
  2. Count Items in a Dictionary 
  3. Get an Item from a Dictionary 


Build Dictionary 

  • create a variable of type Dictionary. 
  •  Type of variable available in the SharePoint 2013 Workflow platform.


Count Items in a Dictionary   

  • Count Items in a Dictionary action to count the variables that a Dictionary contains
  •  return  Integer variable.  item count to loop through the Dictionary.


Get an Item from a Dictionary 


  •  Get an Item from a Dictionary action to retrieve a variable from Dictionary
  •  dictionary stored in a stand-alone variable.
  • returns retrieve a value by entering the name of the variable. 
The variable types available:


  • Boolean: A Yes or No value
  • Date/Time: A date and time
  • Dictionary: A collection of variables
  • Guid: A Globally Unique Identifier (GUID)
  • Integer: A whole number without decimals
  • Number: A number that can contain decimals
  • String: A string of characters