Skip to main content
Version: 25.7

Run microservices on a scheduled basis

Microservices are independent components that execute to prevent or solve frequent issues on devices, improve performance, or speed up tasks that might require a lot of time to do manually. They can be executed directly from the Workspaces module or scheduled from the Flows section in the Portal.

Schedule a microservice execution

  1. Access Portal -> Flows.

  2. Click on New to create a new flow. Or select an existing flow if you want to modify it.

  3. Fill in the fields.

    Overview

    • Name. Name of the flow. The Show languages button allows you to write it in Spanish, English, Portuguese, Catalan, and Basque.
    • Description. Brief explanation about the purpose of the flow.
    • Type. This is the scope of execution for the flow. Choose if it will be executed at the user session level, with the corresponding permissions, or at the device level, with administrative access.
    • Reutilization time. Minimum time that will pass once the evaluated condition is met for the evaluation to be executed again.
    • Detection only. If activated, it evaluates the conditions in "sampling" mode and detects the devices where these are met, but does not execute the microservice defined in the flow.

    create-flowV2

    Notification

    This parameter is optional and can be inactive. It is used to send notices to users at the start and end of flow execution using the operating system notifications. Once enabled, you can set:

    • Initial text. Content of the notification that will be sent to users at the start of the execution.
    • Success text. Content of the notification that will be sent to users after a successful execution.
    • Error text. Content of the notification that will be sent to users after an execution with errors.

    In all three fields, the Show languages button allows writing content in Spanish, English, Portuguese, Catalan, and Basque.

    Target

    This section configures the flow's target. Through the Apply to dropdown, you can select the devices or groups where the actions will be executed.

    • All workspaces. Apply the flow to all devices in the organization.
    • Workspaces. Apply the flow to the devices that the user chooses in the table.
    • Workspaces groups. Apply the flow to the workspaces groups that the user chooses in the dropdown shown when selecting this option.
    • Reporting groups. Apply the flow to the reporting groups that the user chooses in the dropdown shown when selecting this option.
  4. Once the fields are filled in, click on Save.

  5. The user will be redirected to the flow's detail view. In the left sidebar menu, click on the Flow tab.

  6. Click the Edit button located above the panel.

  7. In the panel, click on + and then on Add condition. A modal window with the available conditions will open on the right of the screen.

edit-flowV2

  1. Choose a condition.
  2. Fill in the verification fields.
  3. Click on Save.
  4. In the panel, click on the + symbol located below the condition and select Add action to add the microservice that will be scheduled. You can add more conditions at this point if necessary.
  5. Select the microservice you want to schedule.
  6. Click on Save.
  7. To activate the flow, click on the Enable flow button.
tip

For more information, please check the documentation for Flows.