This LRT can be used to import property sets.
Here is an example of CSV file which can be used for importing sets.
name;code;description;setType;guarantors;guarantorRoles;roles Office 365;Office_365;description1;LICENCE;jakub.vesely;Office_365_guarantor|Licence_guarantor;Office_365 Cars;Cars;description2;PROPERTY;jana.novakova|jakub.vesely;Cars_guarantor;Car
The names of the columns are fixed and you cannot change them.
Overview of attributes:
Columns 'guarantors', 'guarantorRoles', and 'roles' can be multivalued - use the pipe sign ('|') to separate the values.
roles column are created as set roles and run the standard set role validation. Linking a role that is already assigned to users requires the set to have enough free items for them; otherwise the set role fails with SAVE_SET_ROLE_NOT_EXECUTED_TOO_MANY_USERS. Since an imported set starts with no items, import the property for such sets separately. Since version 14.1.0 the import also starts the Assign missing properties and licences task for each created set role.
Now we will create the new LongRunningTask (LRT). As shown in the picture, go to Settings → Task scheduler → Scheduled tasks and hit green "Add" button to add new LRT.
Now we need to create new LRT with these attributes: