Altering a list workflow with SPServices

Nov 22, 2013 at 10:10 PM
We require an approval workflow whose approvals vary with each list item. the first approval should be routed to the submitters manager, and the next by a person column located in a related table.

One approach is to copy the people data into the data entry list and edit the workflow (in SPD) to use these names. But it also looks like these name could be obtained and passed to SPServices workflow operation. Can the workflow's tasks to request approval be altered dynamically via SPServices?
Coordinator
Nov 27, 2013 at 6:00 PM
Steve:

I haven't tried something like this, but I'm thinking it's possible. What version of SharePoint are you using?

M.
Nov 28, 2013 at 7:33 PM
I'm using SP2013 on a hosted environment. I've been able to get very close by adapting the 2010 approval workflow with SPD 2013, So I've been reviewing several options which will have the least amount of maintenance to the support people, including:
  • Complete the workflow in SPD - this will be very hard for IT to support without strong workflow skills
  • Build a 2013 workflow - The IT area prefers not to install workflow Manager so 2013 workflows and Visio is not an option currently
  • I've not found Visio 2013 is not much better managing a 2010 workflow
    • Editing the xoml file is an option, but deployment between test and production will require discipline
  • Using SPService to lookup the data needed from the related lists and dropping them into fields of the main list. It defeats the purpose of normalized data, but allows easier management of the workflow by just replacing the workflow participants.
Thanks,
Steve