- Vue d'ensemble (Overview)
- Démarrer
- Concepts
- Utilisation de la UiPath CLI
- Guides pratiques
- Revenus CI/CD
- Référence de commande
- Vue d'ensemble (Overview)
- Codes de sortie
- Options globales
- agent codé uip
- uip coder
- uip context-grounding
- UiPath Docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- Tâches (Jobs)
- Dossiers
- Processus
- Paquets
- Machines
- Utilisateurs
- Rôles
- Licences
- Flux
- Pièces jointes (Attachments)
- Sessions
- Calendriers
- magasins d'informations d’identification
- journaux-audit
- paramètres
- Actifs
- Compartiments
- Compartiment-fichiers
- Bibliothèques
- Files d'attente (Queues)
- éléments de la file d'attente
- Déclencheurs (Triggers)
- Webhooks
- add-test-data-entity
- ajouter une file d'attente de données de test
- add-test-data-variation
- Analyser
- Construire
- créer-projet
- Différence
- recherche-activités
- Obtenir les règles de l'analyse
- récupérer-activité-xaml par défaut
- Récupérer les erreurs
- obtenir des cas de test manuels
- Obtenir les étapes de test manuelles
- get-library-object-repository
- get-object-repository
- Obtenir les versions
- exemple de workflow
- indiquer l'application
- indiquer l'élément
- inspecter-package
- install-data-fabric-entities
- installer-ou-Update-packages
- list-data-fabric-entités
- list-instances
- listes-exemples-workflow
- Créer un package
- Publier
- remote
- restore
- run, debug & execution
- Exécuter le fichier
- modèles-recherche
- Démarrer-Studio
- arrêter l'exécution
- tm
- UIA
- uip tasks
- Traçages UIP
- uip traces feedback
- Migration
- Référence et assistance
Syntaxe et options pour `uip maestro flow init`, qui élaborationt un nouveau projet Flow avec un manifeste et un fichier de démarrage `.flow` minimaux.
uip maestro flow init élabore un nouveau répertoire de projet Flow avec un manifeste minimal et un fichier .flow de démarrage contenant un seul nœud de déclencheur manuel.
Synthèse
uip maestro flow init <name> [--force] [--skip-solution-registration]
uip maestro flow init <name> [--force] [--skip-solution-registration]
Les options globales sont respectées. Les codes de sortie suivent le contrat standard.
Arguments
<name>(obligatoire) : nom du dossier du projet. Validé par rapport àVALID_PROJECT_NAME_REGEX: lettres, chiffres, traits de soulignement (_) et traits d’union (-) uniquement.
Options
--force— initialise même si le répertoire cible existe et n'est pas vide. Les fichiers existants ne sont pas effacés - les fichiers sont écrits avec; Cela est utile pour la réinitialisation dans un dossier pré-créé.--skip-solution-registration— do not auto-register this project in the surrounding solution (see Behavior below).
Comportement
The command writes two files into <name>/:
project.uiproj—{ "Name": "<name>", "ProjectType": "Flow" }<name>.flow— référencer le flux JSON contenant:- Un
core.trigger.manualnœud de démarrage connecté à unentryPointIdgénéré - La définition du nœud correspondant dans
definitions[] - Vide
edges,bindings,variables - Position
layout.nodes.startde la zone de dessin
- Un
Solution auto-registration. Unless --skip-solution-registration is passed:
- If the current directory is already inside a solution,
<name>/is created there and registered as a project in that solution's.uipxmanifest. - If the current directory is not inside a solution, a parent solution named
<name>Solutionis scaffolded automatically — the Flow project ends up nested at<name>Solution/<name>/, not at<name>/in the current directory as a literal reading of the synopsis might suggest.
Si <name> existe déjà et n’est pas vide et que --force n’est pas défini, la commande échoue en présentant une erreur invitant l’utilisateur à transmettre --force
Exemples
# Create a new project in ./invoice-flow
uip maestro flow init invoice-flow
# Reinitialize into an existing non-empty folder (e.g. a Git repo)
uip maestro flow init invoice-flow --force
# Create a new project in ./invoice-flow
uip maestro flow init invoice-flow
# Reinitialize into an existing non-empty folder (e.g. a Git repo)
uip maestro flow init invoice-flow --force
Format des données (--sortie json)
{
"Code": "FlowInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/my-flow-projectSolution/my-flow-project",
"SolutionRegistration": {
"Status": "Registered",
"Message": "Project registered in parent solution.",
"Solution": "/workspace/my-flow-projectSolution/my-flow-projectSolution.uipx",
"Project": "my-flow-project/project.uiproj",
"ProjectId": "00000000-0000-0000-0000-000000000000",
"Instructions": "The project is listed in the parent solution manifest.
Packing or uploading the solution will sync solution resources automatically."
},
"AutoCreatedSolution": {
"Name": "my-flow-projectSolution",
"Path": "/workspace/my-flow-projectSolution",
"SolutionFile": "/workspace/my-flow-projectSolution/my-flow-projectSolution.uipx"
},
"ProjectArtifacts": { "Created": true },
"NextSteps": "The project is listed in the parent solution manifest.
Packing or uploading the solution will sync solution resources automatically."
}
}
{
"Code": "FlowInit",
"Data": {
"Status": "Created successfully",
"Path": "/workspace/my-flow-projectSolution/my-flow-project",
"SolutionRegistration": {
"Status": "Registered",
"Message": "Project registered in parent solution.",
"Solution": "/workspace/my-flow-projectSolution/my-flow-projectSolution.uipx",
"Project": "my-flow-project/project.uiproj",
"ProjectId": "00000000-0000-0000-0000-000000000000",
"Instructions": "The project is listed in the parent solution manifest.
Packing or uploading the solution will sync solution resources automatically."
},
"AutoCreatedSolution": {
"Name": "my-flow-projectSolution",
"Path": "/workspace/my-flow-projectSolution",
"SolutionFile": "/workspace/my-flow-projectSolution/my-flow-projectSolution.uipx"
},
"ProjectArtifacts": { "Created": true },
"NextSteps": "The project is listed in the parent solution manifest.
Packing or uploading the solution will sync solution resources automatically."
}
}
AutoCreatedSolution is present only when a parent solution was scaffolded automatically (i.e. the command wasn't run inside an existing solution). SolutionRegistration is absent entirely when --skip-solution-registration is passed.
En cas d'échec, Code est absent et la réponse comporte Result: "Failure", Message et Instructions.
Voir également
uip maestro flow pack— compresser le projet structuréuip maestro flow node— ajoutez des nœuds au fichier.flowde démarrageuip maestro flow registry— découvrir les types de nœuds à ajouter- Vue d’ensemble du flux