sharepoint designer 2013 Run workflow with timer job on specific items and not on all items in list

Hi all,

I have a timer job  that run my workflow.
My problem is that the WF run on all items in list.

I would like the WF to run only on specific items, for example run only on items that their id is between 100-200

Is there a way  to do the action using WF ?

nikita

November 19th, 2014 10:10am

Hi Nikita,

Is that a custom timer job and do you have access to the code of that timer job. If yes, you can put a check in timer job itself using CAML query or Linq query if ID=<200 && ID>=100 then only start the workflow.

Please follow the below mentioned link and insert a SPQuery statement to filter the listitems.

http://bhandariasb.wordpress.com/2013/06/03/start-workflow-from-custom-timer-job/

Hope this information will help to solve your problem. In case it's not solved let me know and also share the timer job code.

Best Regards,

Brij K

Free Windows Admin Tool Kit Click here and download it now
November 19th, 2014 11:19am

Hi
Thank you for your response
I try not to use timer job
Is there a way to do the action without using code?

Nik.

December 2nd, 2014 1:11pm

Hi

My solution : HearePoint

Nikita

  • Edited by nikita.it Tuesday, January 20, 2015 2:01 PM
Free Windows Admin Tool Kit Click here and download it now
January 20th, 2015 2:01pm

Refer my blog, I posted sample code for this.

http://syspsutha.blogspot.com.au/2015/04/timer-job-to-start-workflow-in-list.html

April 23rd, 2015 11:46pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics