Parameters
- jobId
- The id of the job.
- extProps
- Indicates whether to return extended and related properties for the job.
- holds
- Indicates whether to return hold information for the job.
{
// Note: QueuedTask is required to call Workflow Manager API methods
// GetJob returns an existing job
try
{
var jobManager = WorkflowClientModule.JobsManager;
var job = jobManager.GetJob(jobId);
// Do something with the job
}
catch (NotConnectedException)
{
// Not connected to Workflow Manager server, do some error handling
}
catch (Exception)
{
// Some other exception occurred, do some error handling
}
// Use the job object
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)