Showing posts with label Workflows and Timer Job. Show all posts
Showing posts with label Workflows and Timer Job. Show all posts

Monday, February 27, 2017

SharePoint 2013 - Timer job not updating after re-deployment

SharePoint 2013 - Timer job not updating after re-deployment

When deploying a change to an existing timer job you need to restart the SharePoint Timer Job (owstimer.exe) service before the changes will be applied.
This can be achieved through:
net stop SPTimerV4
net start SPTimerV4

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

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




Wednesday, December 9, 2015

PowerShell command to enable the Timerjob feature

Enable-SPFeature -Identity "FeatureName" -url "http://siteURL/"