---
title: Creating child jobs
slug: creating-child-jobs
createdAt: 2025-06-11T20:26:19.222Z
---

Creating child jobs

To create a child job in Activate:

*//Create new job object*Job newJob = new Job();

*//Set task*newJob.Task = Evaluator.GetObject(“=//Tasks/User/Create User”) as Task;

//Set argumentsnewJob.Arguments.SetValue(“..”,...)

*//Submit job as child, Job in this context is the parent job*Job.Submit(newJob);

NOTE: Calling newJob.SetInfo() will create the job without some important attributes set and job will not be executed. Call submit as above instead of using SetInfo();
