DifficultySchwierigkeitsgrad: noviceAnfänger
Inhalt
Table of Contents | ||||
---|---|---|---|---|
|
Learning Objectives
After reading this article, you’ll be able to:
Change fields of an object in bulk using “Default report.”
Change fields of an object in bulk using “List page.”
Change fields of an object in bulk using “Custom report.”
Change fields of an object in bulk using “Custom report for objects with workflow. ”
Introduction
Changing fields in bulk is an efficient way to adjust a large number of data entries. There are multiple reasons why one would want to make changes in bulk. One such reason could be to assign a new profile to users. This could be done manually, one by one. However, it can be a tedious process, having to update every user manually. It is more efficient to let Workplace do the same process in bulk to save ourselves from doing a lot of manually intensive and time-consuming work.
Changing data in bulk is a default feature in Workplace that can be initiated via a list page or a standard report. See chapters 2 and 3 of this article. If a standard report for the object does not exist in the environment, we must build a custom report before changing the data in bulk. An example is presented in chapter 4 of this article. In case you need to refresh your memory on how to create simple reports, please refer to theLernziele
Nach der Lektüre dieses Artikels werden Sie in der Lage sein:
Ändern Sie die Felder eines Objekts in großen Mengen mit dem "Standardbericht".
Ändern Sie Felder eines Objekts in der Masse mit "Listenseite".
Ändern Sie die Felder eines Objekts in der Masse mit "Benutzerdefinierter Bericht".
Ändern Sie die Felder eines Objekts in großen Mengen mit "Benutzerdefinierter Bericht für Objekte mit Workflow. "
Einführung
Die Massenänderung von Feldern ist eine effiziente Methode zur Anpassung einer großen Anzahl von Dateneinträgen. Es gibt mehrere Gründe, warum man Änderungen in großen Mengen vornehmen möchte. Einer dieser Gründe könnte sein, den Benutzern ein neues Profil zuzuweisen. Dies könnte manuell, einer nach dem anderen, geschehen. Es kann jedoch ein langwieriger Prozess sein, jeden Benutzer manuell zu aktualisieren. Es ist effizienter, Workplace den gleichen Prozess in großen Mengen durchführen zu lassen, um uns eine Menge manueller und zeitaufwändiger Arbeit zu ersparen.
Die Massenänderung von Daten ist eine Standardfunktion im Workplace, die über eine Listenseite oder einen Standardbericht eingeleitet werden kann. Siehe Kapitel 2 und 3 in diesem Artikel. Wenn ein Standardbericht für das Objekt in der Umgebung nicht vorhanden ist, müssen wir einen benutzerdefinierten Bericht erstellen, bevor wir die Daten im Bulk ändern. Ein Beispiel dafür finden Sie in Kapitel 4 dieses Artikels. Falls Sie Ihr Gedächtnis auffrischen müssen, wie man einfache Berichte erstellt, lesen Sie bitte den Artikel /wiki/spaces/KB/pages/149979235 article. Moreover, for objects that use a workflow process, a few additional steps must be undertaken before we can use this feature. Chapter 5 of this article presents a step-by-step procedure for building a report to change the data entries in bulk for objects that use workflows Artikel. Darüber hinaus müssen für Objekte, die einen Workflow-Prozess verwenden, einige zusätzliche Schritte unternommen werden, bevor wir diese Funktion nutzen können. In Kapitel 5 dieses Artikels wird Schritt für Schritt beschrieben, wie man einen Bericht erstellt, um die Dateneinträge für Objekte, die Workflows verwenden, in großen Mengen zu ändern.
Search
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
|
Tip |
---|
In case there is no list page available for the object workplace offers a number of default reports that allow for bulk updates. If no report is available, a custom report must be built (see next chapter). |
To identify which pages allow for changes in bulk:
It is only possible to make bulk changes from a list/hierarchy page (etc.).
A selection box must be present in front of each instance.
The “Update fields” button must be available for the user to carry out the update.
Note |
---|
It is important to note that not all users have the necessary access rights to perform these actions. |
Step-by-step on how to perform changes in bulk:
Select the instances that have to be updated by clicking on the “Selection box”;
Click on the “Update fields” Button;
If more functions are available, this button will be available using the “Selection” drop-down menu.
Select the field that should be updated;
Select the value the field should be updated to;
Click OK to update.
In the example below, we will update the field “User type” with the help of the “Update fields” functionality.
Initially, the user type for testusr1 and testusr2 is “Requestor.
We start by selecting the two users by clicking on the selection boxes in front of each instance.
When an instance has been selected, its row turns green.
When we select the instances that should be updated, we click the “Update fields” button.
If more functions are available, this button will be available using the “Selection” drop-down menu.
We select the field that we want to update as well as the new value of this field.
When clicking OK, the value of the “User type” field will be updated for these instances.
Note |
---|
a. Note: It is not possible to undo this action. Hence, use this functionality with care. |
The user type has been updated from “Requestor” to “Full user.”
title | Update fields in bulk using a custom report |
---|
Update fields in bulk using a custom report (Objects without a workflow)
In the example below, we want to change the user profile for multiple users in the environment. No default report or list page view gives us an overview of all users and their respective user profiles. Thus, to be able to select and change this data in bulk, we must first build a custom report that can give us this overview. Subsequently, we can change the user profiles in bulk.
Navigate to reports via the navigation menu;
Click on New report;
Make sure that the report is based on the correct object. In our example, we need a report that originates from the “contact” object to be able to adjust the user profile field in bulk. This is because the “Default user profile” field is “Contact.UserProfileId”
Our report (filter fields and page fields) can be seen below:
A report must be able to multi-select the data entries. Multi-select must be turned on by the report’s list page.
Open up the list page settings.
Select “Multi” by the selection field.
After the report has been built, click on view to get an overview of the results.
On the result page, Select the instances that should be updated;
Click on“Selection”;
Click on “Update fields”;
Select the field and value, and click OK.
Note |
---|
|
Enter and exit the correct mode in bulk
To enter the correct mode in bulk:
Click on the gear symbol;
Click correct.
The fields that are normally not editable can now be editable for all instances.
To change a field in bulk:
Select the items;
Click on Update fields;
Select the field and value, and click Ok
To exit the correct mode in bulk:
Click on the gear symbol;
Click correct.
The fields that are usually not editable cannot be changed anymore.
title | Update the workflow status in bulk (incl. stop/ start workflow instructions) (Step 1 out of 3) |
---|
Update the workflow status in bulk (including stop/ start workflow instructions).
The article Start/stopping workflow (and change status) goes over the core principles of how to stop a workflow process, change the status of the instance, and how to restart the workflow process. This method allows the admin to quickly make necessary changes to an existing instance without discarding the old one and generating an entirely new instance.
Step 1: Create a report from the object Workflowcase.
In this example, we show how to change the status of multiple requests from submitted to handled.
First and foremost, we have to create a report from the object Workflowcase. This will ensure that we can start and stop the workflow of the instances in question. The report must be able to filter objectNameId, which in this case will be set equal to “Request.”
Tip |
---|
A report based on the Workflowcase object is used to start and stop the workflow. |
To build a report from the WorkflowCase object:
Navigate to reports via the navigation menu;
Click on New report;
Click on Add filter;
Search for “Workflowcase”;
Select “ObjectNameId”;
Click on the magnifying glass icon for Workflowcase.objectNameId;
Click on Set default;
Select “Request” from the drop-down menu by the “Value” setting;
Click on Save and return.
We now add a few more page and filter fields to the report to create a list of the requests that we would like to change. Open the expands below to get an insight into how our simple report is built up.
Ensure the “Multi” selection has been turned on for the report on the list page.
Expand | ||
---|---|---|
| ||
Step 2: Select, correct, and stop the workflowTo stop the workflow of all the instances (or a selection of instances) from the report:
|
Expand | ||
---|---|---|
| ||
Step 3: Build a second report based on the Request object.To be able to update the status of the requests (requestStatusCode), we would have to either use an existing report or create a new report that is based on the request object.
Step 3: Restart the workflow.
|
Summary
Rw ui textbox macro |
---|
|
Exercise
- #1
- #2
| ||||||
Aktualisieren Sie Felder in großen Mengen über die verfügbaren Menüoptionen (Objekte ohne Workflow).In der Workplace-Umgebung gibt es mehrere Seiten, auf denen der Benutzer Felder in großen Mengen aktualisieren kann.
Um festzustellen, auf welchen Seiten Änderungen in großen Mengen möglich sind:
Schritt-für-Schritt-Anleitung für die Durchführung von Massenänderungen:
Im folgenden Beispiel wird das Feld "Benutzertyp" mit Hilfe der Funktion "Felder aktualisieren" aktualisiert.
|
Expand | ||
---|---|---|
| ||
Massenaktualisierung von Feldern mithilfe eines benutzerdefinierten Berichts (Objekte ohne Workflow)Im folgenden Beispiel wollen wir das Benutzerprofil für mehrere Benutzer in der Umgebung ändern. Kein Standardbericht und keine Listenseitenansicht gibt uns einen Überblick über alle Benutzer und ihre jeweiligen Benutzerprofile. Um diese Daten in großen Mengen auswählen und ändern zu können, müssen wir also zunächst einen benutzerdefinierten Bericht erstellen, der uns diesen Überblick verschaffen kann. Anschließend können wir die Benutzerprofile in großen Mengen ändern.
Eingabe und Beendigung des korrekten Modus in großen Mengen
|
Expand | |||||
---|---|---|---|---|---|
| |||||
Aktualisieren Sie den Workflow-Status in großen Mengen (einschließlich Anweisungen zum Stoppen/Starten des Workflows).Der Artikel Starting and stopping workflow (and changing status) werden die Grundprinzipien des Anhaltens eines Workflow-Prozesses, der Änderung des Status der Instanz und des Neustarts des Workflow-Prozesses erläutert. Mit dieser Methode kann der Administrator schnell die notwendigen Änderungen an einer bestehenden Instanz vornehmen, ohne die alte Instanz zu verwerfen und eine völlig neue Instanz zu erzeugen. Schritt 1: Erstellen Sie einen Bericht aus dem Objekt Workflowcase.In diesem Beispiel wird gezeigt, wie man den Status mehrerer Anfragen von "eingereicht" auf "bearbeitet" ändert. Zuallererst müssen wir einen Bericht aus dem Objekt Workflowcase erstellen. Dadurch wird sichergestellt, dass wir den Workflow der fraglichen Instanzen starten und stoppen können. Der Bericht muss in der Lage sein, objectNameId zu filtern, was in diesem Fall auf "Anfrage" gesetzt wird.
So erstellen Sie einen Bericht aus dem WorkflowCase-Objekt:
Wir fügen nun einige weitere Seiten- und Filterfelder zum Bericht hinzu, um eine Liste der Anfragen zu erstellen, die wir ändern möchten. Öffnen Sie die nachstehenden Erweiterungen, um einen Einblick in den Aufbau unseres einfachen Berichts zu erhalten.
|
Expand | ||
---|---|---|
| ||
Schritt 2: Auswählen, Korrigieren und Anhalten des WorkflowsSo stoppen Sie den Workflow aller Instanzen (oder einer Auswahl von Instanzen) aus dem Bericht:
|
Expand | ||
---|---|---|
| ||
Schritt 3: Erstellen Sie einen zweiten Bericht auf der Grundlage des Objekts Anfrage.Um den Status der Anfragen (requestStatusCode) zu aktualisieren, müssen wir entweder einen bestehenden Bericht verwenden oder einen neuen Bericht erstellen, der auf dem Anfrageobjekt basiert.
Schritt 3: Starten Sie den Workflow neu.
|
Zusammenfassung
Rw ui textbox macro |
---|
|
Übung
- #1
- #2
Suche
Live Search |
---|