get operation state

This block is part of the virtualisation group and was last modified in core v15.0.0.

get operation state v13.0.9 Updated v15.0.0

Retreives all the state of a operation on LXD server.

In pins 3 + flow
  • flow
    flow
  • Connection required
    lxdconnection

    The LXD connection

  • Operation ID required
    value

    The ID of the operation you want to get info of.

  • Wait
    condition

    If this is true it will wait with giving response until status is success.

Out pins 8 + flow
  • flow
    flow
  • Connection
    lxdconnection

    The LXD connection

  • Success
    condition

    If successful, this pin returns true.

  • Data
    object

    The info of the operation.

  • Status
    value

    The status of the operation.

  • Location
    value

    The location of the operation.

  • Description
    value

    The status of the operation.

  • Created At
    date

    The date when the operation was created.

  • Error
    value

    Error message if the operation could not be requested.

A typical wiring for get operation state: a function trigger starts the flow; create network feeds the connection pin; value feeds the operation_id pin; the flow out pin feeds debug.

Studio canvas example for the get operation state block: typical wiring for get operation state.

Version history

Introduced in v13.0.9.

Last modified in v15.0.0.


Back to virtualisation Return to the main group to view all sub-groups Back to LXD Return to the group to view all blocks within this group