CREATE USER FIELD
Cette page d'aide concerne Studio. Ces informations sont également disponibles pour Desktop Studio.
|
|
Crée une définition de données personnalisée via Proactive XS pour NiCE CXone. Tout type de définition de données que vous pouvez créer dans NiCE CXone peut également être créé via Create User Field. |
Dépendances
Créer un Champ Utilisateur ne peut être utilisé qu'avec Proactive.
Types de scripts pris en charge
|
|
| Téléphone |
Propriétés de saisie
Ces propriétés définissent les données que l'action utilise lors de son exécution.
|
Propriété |
Description |
|---|---|
|
Ajouter une légende |
Entrez une courte phrase qui identifie cette action dans le script de manière unique. La légende est affichée sur le canevas de script sous l’icône de l’action. |
| Nom | Enter the name you want to give your source. Create Prospect v.1 used to carry this name; however, mapping requires that field be removed and stored here. |
| DataType | Le type de données à retourner, comme une chaîne, un téléphone, un booléen |
| Valeur par défaut | The value you would provide to any record without a matching mapping. Cannot exceed 200 characters. |
| Associations | Applies only to the phone data type. A correlation between a phone data type and another custom data definition. Make sure the custom data definition is the same data type as the associated field. |
Conditions de branche résultat
Les conditions de branche de résultat vous permettent de créer des branches dans votre script afin de gérer différents résultats lors de l'exécution d'une action.
|
Condition |
Description |
|---|---|
| Par défaut | Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined. |
| Erreur | Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem. |
| FieldInUseByProcessingFilter | Path taken if there is an attempt made to change or remove a value currently in use by a filter. |
| InvalidDataType | Path taken if the data type provided does not match a supported data type. |
| NoNameProvided | Path taken if Name is blank. |
| DataTypeMismatch | Path taken if the subfield given has a different data type than the expected data type. For example, a Date data type rather than a Boolean may be given to compliance. |
| UserDefinedFieldNotFound | Path taken if the subfield is mapped to a non-existent field. |
| InvalidSubField | Chemin emprunté si les champs demandés dans les propriétés ne peuvent pas être interprétés par NiCE CXone. |
| DefaultValueDoesntMatchDataType | Path taken if the specified default value does not match the specified data type. For example, if the default value is a string, but the data type is an integer. |
| DataTypeDoesntSupportDefaultValue | Path taken if the data type does not support the default value, for example, the phone data type. |
| FieldExceededLength | Path taken if Name is longer than 255 characters. |
| InUseAsSubtype | Path taken if the field is currently in use as a subtype of another field, specifically if the data type is being changed. |
| InUseByFilter | Chemin emprunté si le champ est actuellement utilisé par un filtre. |
Exemple de script
Cet exemple montre comment cette action peut être utilisée dans les scripts. Il ne s'agit pas d'un script complet. Des scripts supplémentaires peuvent être nécessaires.
Le script ci-dessous définit tous les chemins pour Créer un Champ Utilisateur, ce qui vous permet de créer une nouvelle définition de données personnalisées.
Double-clic sur l'action Snippet dans le script d'exemple pour afficher le code de l'Extrait utilisé dans l'exemple. Vous pouvez également afficher le code de l'extrait dans un fichier TXT inclus dans le fichier ZIP d'exemple ci-dessous