---
title: "FulfillTask"
description: "Retrieves provisioning orders from the informed connector generated by GenerateProvisioningOrdersTask to make changes in a system. Instead of a connector it is possible to launch it with a list of TaskResourceTypes."
sidebar_position: 4
---

Retrieves provisioning orders from the informed connector generated by GenerateProvisioningOrdersTask to make changes in a system. Instead of a connector it is possible to launch it with a list of TaskResourceTypes.


## Examples

The following example reads all provisioning order concerning the `ServiceNow` connector to make the changes in ServiceNow.

```xml
<FulfillTask Identifier="FulfillTestServiceNowConnector" Agent="Local" DisplayName_L1="Fulfill ServiceNow" OpenIdClient="Job" Connector="ServiceNow"/>
```

The following example reads all provisioning order concerning the `ServiceNow_Entry_NominativeUser` resource type to make the changes in ServiceNow.

```xml
<FulfillTask Identifier="FulfillTestServiceNowWithResourceType" Agent="Local" DisplayName_L1="Fulfill ServiceNow" OpenIdClient="Job" >
  <TaskResourceType ResourceType="ServiceNow_Entry_NominativeUser"/>
</FulfillTask>
```

### Ignore Archiving

:::warning Ignore Historization
When `IgnoreHistorization` is set to `true`, the task will not create historical records of changes. This can improve performance but reduces audit trail capabilities.
:::

The following example reads all provisioning orders concerning the `InternalResources` connector to open manual provisioning tickets in Identity Manager, without archiving the values prior to the changes on resources.

```xml
<FulfillTask Identifier="FulfillInternalResources" Agent="Local" DisplayName_L1="Fulfill Internal Resources" OpenIdClient="Job" Connector="InternalResources" IgnoreHistorization="true" />
```


## Properties

|Property|Details|
|---|---|
| DisplayName_L1 required | **Type:** String **Description:** Display name of the task in language 1 (up to 16). |
| Agent optional | **Type:** String **Description:** Identifier of the agent on which the job will be launched.**Note:** when not specified, the task is to be launched on the server.**Warning:** all jobs containing the task must be launched on the same agent or on the server. |
| BatchSize <span class="optionalAttribute">default value: 0</span> | **Type:** Int32 **Description:** Block size for batch calculation. |
| Connection optional | **Type:** String **Description:** Identifier of the Connection in the appsettings.agent.json. |
| Connector optional | **Type:** String **Description:** Identifier of the connector involved in the task. |
| ContinueOnError <span class="optionalAttribute">default value: false</span> | **Type:** Boolean **Description:** `true` if the execution of the Task returning an error should not stop the job machine state. |
| Dirty optional | **Type:** Boolean **Description:** Option to tag resources inserted or updated by the internalResource with Dirty=true. |
| Identifier optional | **Type:** String **Description:** Unique identifier of the task. |
| IgnoreHistorization <span class="optionalAttribute">default value: false</span> | **Type:** Boolean **Description:** `true` to prevent Usercube from archiving the changes (resource creation, update, deletion) performed by the task for the `InternalResources` connector. The impacted table is `UR_Resources`. |
| OpenIdClient optional | **Type:** String **Description:** Connection client for the task. |


## Child Element: TaskResourceType
The table TaskResourceTypes makes the link between the tasks and the Resourcetypes.


|Property|Details|
|---|---|
|ResourceType<br/>required|<p>**Type**<br />Int64<br /><br />**Description**<br />Linked resourceType id.</p>|
