Does anyone have any information on creating a Client Job using the SDK or Workflow?
I have found out how to create tasks and how to schedule Jobs/Tasks.
Create a Client Job or Script Task using the SDK?
I found that too, but besides the the title it only is about tasks.
When exporting a Job as xml, there is for every node another guid.
I want to build jobs from scratch, so i have to get these from somewhere. I am fiddeling around with a guid generator to build these, but what happens if I accidently generate a guid that is already in the SMP. These node guids in the jobs are no where to find in the Database, and therefore I could not check for duplicates.
Yes all Tasks and Sub-Jobs are there.
The customer wants to deploy the master servers for a citrix farm. Its a matter of creating a new job for every master server as they are not identical, and this changes nearly monthly.
This job a monster, at top level there 10+ subjobs, nearly every subjob has a condition to trigger several other subjobs. And since cloning a job in the SMP duplicates everything that is in it, we opted out of this mess.
Ah the joys of a clone!
So if you want to get a list of current Jobs/Tasks you can either retrieve this via SQL or WSs:
How to list the contents of an item folder?
Via WS - ItemManagementService
Depending on how you store the jobs/tasks you might need to go recursive.