Running Flux Services
Flux services can be invoked via Flux REST API or Coder.
Using Coder is the simplest and fastest way to run a Flux service. This is suitable during the development phase of your integration. There are multiple ways to run a Flux service; you can use:
- The context menu from either the Flux editor or the Coder Navigator view; or
- The debug button on the service toolbar
Afterwards, the IDE will show a dialog that allows you to add and set properties before running the service. These properties include:
This specifies on what state the execution should start. If Default is selected, the first state on the Flux definition will be used as a start state. The default starting state is marked as green in the editor.
If you have Flux inputs on your service, they will be shown on the dialog. You can then set the values for each input defined in the Flux Service.
The values to add as tags to the Flux execution. This is equivalent to adding tags on the Flux properties except that tags added from the dialog are bound to the execution only.
After running, Coder opens the console for you, logging any information relevant to your service.