Commands
This chapter covers the most common commands of the Axon Ivy Designer.
Invoking Commands
As mentioned in the VS Code Basics, many commands can be invoked in multiple ways.
Command Palette - This is the standard way to invoke a command, since very existing command can be executed via the Command Palette.
Tree view context menu - For convenience, many commands can also be invoked by clicking in the context menu via right-click in a tree view. The advantage is that commands are logically grouped and presented.
There are two tree views where you can right-click: The built-in file explorer and the Axon Ivy Projects tree view.
The file explorer shows a broad collection of commands you most commonly use across your projects. It groups commands by logical sets. Access it by right-clicking anywhere in the file explorer and hover over Axon Ivy >
Right-click in the file explorer displays the Axon Ivy context menu with the most useful commands.
The Axon Ivy Projects menu only shows commands you execute on that specific project (e.g. deploy, export, etc.)
Right-click in the Axon Ivy Projects view displays the project context menu.
The difference between the two context menus is only the selection of the commands.
Project Selection
Many commands need you to specify for which project in the workspace you want to invoke the command. For example, when creating a new process, the dialog first asks you in which project you want to create this new process.
When you invoke that command via the context menu, it matters where you placed your mouse pointer before right-clicking:
Right-click on a project or any of its sub folders: The invoked command will prefill the project selection with that project, if applicable.
Right-click on an existing project will set this as the project input.
The dialog will directly start at step 2/3, prefilling the project input with your tree selection.
When you press the back button, you see the prefilled project selection and can change it if desired.
Right-click in the free space below the folders: No selection is made, you will have to specify the project manually.
The dialog will start at the first step, asking for a project input.
This is the same as invoking the command via the Command Palette with Axon Ivy: New Business Process, which will never prefill anything.
Note
If there is only one Axon Ivy project in your workspace, this project will automatically be preselected. This means that commands that only have a single input step “Select project” will execute without asking for input.
Example: Axon Ivy: Reveal Project in File Explorer consists of one step only: Selecting the project to reveal.
If there is only one project, invoking this command will automatically select it and reveal the project in the file explorer without asking for your input.
Command Feedback
Not all commands ask you for your input. Some commands simply execute in the background.
After invoking a command, keep an eye on the notifications list and the status bar at the bottom right and left. They usually provide feedback about ongoing operations.
For more detailed feedback, you can check the log views.
List of all Commands
New
All commands that create new Axon Ivy resources, except for New Project, will first ask you for a project in which to create the new resource in.
- New Project
Axon Ivy: New ProjectCreates a new Axon Ivy project.
- New Test Project
Axon Ivy: New Test ProjectCreates a new Axon Ivy test project. Refer to CI and Testing for more information.
- New Business Process
Axon Ivy: New Business ProcessCreates a new Axon Ivy business process. Refer to the Process for more information.
- New Callable Sub Process
Axon Ivy: New Callable Sub ProcessCreates a new Axon Ivy callable subprocess. Refer to the Process for more information.
- New Web Service Process
Axon Ivy: New Web Service ProcessCreates a new Axon Ivy web service process. Refer to the Process for more information.
- New Html Dialog (JSF)
Axon Ivy: New Html Dialog (JSF)Creates a new Axon Ivy HTML dialog based on JSF. Refer to the User Dialogs for more information.
- New Dialog Form
Axon Ivy: New Dialog FormCreates a new Axon Ivy dialog form. Refer to the User Dialogs for more information.
- New Offline Dialog (JSF)
Axon Ivy: New Offline Dialog (JSF)Creates a new Axon Ivy offline dialog based on JSF. Refer to the User Dialogs for more information.
- New Data Class
Axon Ivy: New Data ClassCreates a new Axon Ivy data class. Refer to the Data Classes for more information.
- New Entity Class
Axon Ivy: New Entity ClassCreates a new Axon Ivy entity class. Refer to the Data Classes for more information.
- New Case Map
Axon Ivy: New Case MapCreates a new Axon Ivy case map. Refer to the Case Map for more information.
Open Editors
All the editors will prompt you for a project on which to open the respective config editor.
Except for the Custom Field editor, all those editors are Axon Ivy specific editors as described in the editor introduction and in more detail in the Editors chapter. Those editors are therefore linked to specific file types or names.
For example, invoking Axon Ivy: Open Database Editor in project X will open the database editor of that project. The same could be achieved by double-clicking the config/databases.yaml file of project X.
- Open CMS Editor
Axon Ivy: Open CMS EditorOpens the Axon Ivy CMS editor.
- Open Custom Field Editor
Axon Ivy: Open Custom Field EditorOpens the Axon Ivy custom field editor.
- Open Database Editor
Axon Ivy: Open Database EditorOpens the Axon Ivy database editor.
- Open Persistence Editor
Axon Ivy: Open Persistence EditorOpens the Axon Ivy persistence editor.
- Open Rest Client Editor
Axon Ivy: Open Rest Client EditorOpens the Axon Ivy REST client editor.
- Open Role Editor
Axon Ivy: Open Role EditorOpens the Axon Ivy role editor.
- Open User Editor
Axon Ivy: Open User EditorOpens the Axon Ivy user editor.
- Open Variable Editor
Axon Ivy: Open Variable EditorOpens the Axon Ivy variable editor.
- Open Web Service Client Editor
Axon Ivy: Open Web Service Client EditorOpens the Axon Ivy web service client editor.
Logs
Refer to the Axon Ivy Output Views for more information.
- Open Axon Ivy Runtime Log
Axon Ivy: Open Axon Ivy Runtime LogOpens the Axon Ivy runtime log.
- Open Axon Ivy Extension Log
Axon Ivy: Open Axon Ivy Extension LogOpens the Axon Ivy extension log.
- Open Axon Ivy Engine Log
Axon Ivy: Open Axon Ivy Engine LogOpens the Axon Ivy Engine log.
Import / Export
- Import Project Archive (.iar or .zip)
Axon Ivy: Import Project Archive (.iar or .zip)Lets you import and unpack an archived Axon Ivy project (
.iar) or a collection of multiple projects (.zip). If the import is successful, the project(s) will be unpacked and added to your workspace.Note
It is currently not allowed to import an project archive into another Axon Ivy project. Right-clicking on an Axon Ivy project and importing an archive will result in an error.
- Export Project Archive (.iar)
Axon Ivy: Export Project Archive (.iar)Similar to the import, this command lets you export an Axon Ivy project from your workspace as an
.iararchive.- Import BPMN Process
Axon Ivy: Import BPMN ProcessImport a BPMN process either as
.xmlor.bpmn.
Process Editor
The following commands are only active if you have an open .p.json file in the Process Editor.
- Fit to Screen
Axon Ivy: Fit to ScreenFits the active workflow diagram to the available screen space.
- Center selection
Axon Ivy: Center selectionCenters the selected elements in the active workflow diagram.
- Layout diagram
Axon Ivy: Layout diagramAutomatically arranges the active workflow diagram.
- Export as SVG
Axon Ivy: Export as SVGExports the active workflow diagram as an SVG file.
Form Editor
The following commands are only active if you have an open .f.json file in the Form Editor.
- Open Dialog Preview
Axon Ivy: Open Dialog PreviewOpens a preview of the selected dialog.
Project Conversion
When you update your Axon Ivy engine, projects can become outdated.
In that case, the problem view will show a problem marker, indicating that the projects need to be converted.
Clicking on the problem marker lets you inspect your project’s properties file .ivyproject, you will see the project version.
You will also see a warning indicator, when the project is out of date.
Axon Ivy can convert your old projects automatically to the newest project format for you. During this process, all existing artifacts will be converted (if necessary) so as to work with the new Axon Ivy version, and any missing but required artifacts will be added.
The conversion can be triggered via the Axon Ivy: Convert Project command.
After the execution, you can check the conversion log for details.
Warning
It is absolutely recommended that you create a copy of your project before invoking the conversion. Alternatively you can have your project under version control. In this case, make sure that all your projects are checked in, before you invoke the conversion, so that you can easily roll back (revert) to the old version, if conversion should fail for some reason.
In the Migration Notes, migration tasks marked with
will run with this command.
- Convert Project
Axon Ivy: Convert ProjectOpens a selection with all the outdated projects in your workspace. Lets you choose projects to convert. If there are no outdated projects in your workspace, the selection will be empty and nothing can be selected.
- Convert All Projects
Axon Ivy: Convert All ProjectsShortcut for Convert Project which preselects all available projects ready for conversion.
Project Management
Those projects pertain the management and setup of your Axon Ivy projects.
- Deploy Project
Axon Ivy: Deploy ProjectDeploys the selected Axon Ivy project, which synchronizes your workspace with the Axon Ivy backend. When working in the Designer, this command is usually executed behind the scenes and is not needed to be executed manually unless you encounter problems in your workspace.
- Deploy all Projects
Axon Ivy: Deploy all ProjectsShortcut to execute the deploy command on all Axon Ivy projects in the workspace.
- Stop BPM Engine of Project
Axon Ivy: Stop BPM Engine of ProjectStops the BPM Engine associated with the selected project. This will terminate all running simulations in that project.
- Add Project Dependency
Axon Ivy: Add Project DependencyAdds a dependency to an Axon Ivy project. This will create a dependency from Axon Ivy project A to project B.
Note
This command only works if you have at least two projects in your workspace.
Market
Our Axon Ivy Market has many already built connectors to 3rd-party systems, utilities or demos that you can easily integrate into your Axon Ivy projects.
- Install Market Product
Axon Ivy: Install Market ProductInstalls an Axon Ivy Market product from the Axon Ivy market. The command consists of 3 to 5 steps, depending on the selected product:
Select the market product to install.
Select the version. This is normally prefilled with the matching version from the market.
Pick the components of the market product to install. For example, many demo projects contain two parts: The demos themselves and a test project. You must pick at least one.
(optional) - Depending on the product and your selection in the previous step, you must also choose some required dependencies needed for the previously picked components to run.
(optional) - If your selection from step 3 forced you to choose required dependencies, you must specify in which existing Axon Ivy project you want to install those dependencies.
Note
If you try to install a market product that requires you to have an existing Axon Ivy project in the workspace already, but there is no project, the install command will abort and throw an error.
- Install Local Market Product
Axon Ivy: Install Local Market ProductInstalls an Axon Ivy Market product from a local source file. The steps are identical to the previous command, apart from the first step. Instead of choosing a product from the market by searching it, you are prompted to supply the local source file
product.json.
Miscellaneous
- Activate Process Animation
Axon Ivy: Activate Process AnimationActivates process animation in the Axon Ivy Engine.
- Deactivate Process Animation
Axon Ivy: Deactivate Process AnimationDeactivates process animation in the Axon Ivy Engine.
- Attach Process Debugger
Axon Ivy: Attach Process DebuggerAttaches the process debugger, which allows you to debug your processes. Refer to the Process Debug for more information about debugging.
- Open Portal
Axon Ivy: Open PortalOpens the Axon Ivy portal.
- Open Developer Workflow UI
Axon Ivy: Open Developer Workflow UIOpens the Axon Ivy Developer Workflow UI.
- Open Engine Cockpit
Axon Ivy: Open Engine CockpitOpens the Axon Ivy Engine Cockpit.
- Open Welcome Page
Axon Ivy: Open Welcome PageOpens the Axon Ivy welcome page.
- Refresh Project Explorer
Axon Ivy: Refresh Project ExplorerRefreshes the Axon Ivy Projects view.
- Switch Engine release train
Axon Ivy: Switch Engine release trainSwitches the Axon Ivy Engine release train. For advanced use only, refer to Advanced Designer Setup for more information.
- Reveal Project in File System
Axon Ivy: Reveal Project in File SystemReveals the selected Axon Ivy project or resource in the operating system’s file system.