FulfillTask
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.
<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.
<FulfillTask Identifier="FulfillTestServiceNowWithResourceType" Agent="Local" DisplayName_L1="Fulfill ServiceNow" OpenIdClient="Job" > <TaskResourceType ResourceType="ServiceNow_Entry_NominativeUser"/></FulfillTask>
Ignore Archiving
While archiving data for audits is part of the main purposes of Usercube, some elements can be prevented from being archived, for example during Usercube's installation and initialization.
The following example reads all provisioning orders concerning the InternalResources
connector to
open manual provisioning tickets in Usercube, without archiving the values prior to the changes on
resources.
<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 default value: 0 | 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 default value: false | 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 default value: false | 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 required | Type Int64 Description Linked resourceType id. |