add-inventory-status#

The add-inventory-status step adds a status to a component resource.

Format#

add-inventory-status step "foo" is
    -- name of the status to add to the component resource; required
    status "Active"
on success
    finish
end

Properties#

Field Description
Status The component resource that the process is running against will have an inventory entry created for it with the specified status. Active indicates that the component version is deployed to its target resource. You can create other statuses and have those statuses applied to component versions when processes are complete. The status is displayed on the Inventory panes for the component itself and environments that ran the process.

Example#

start is
    start "A"
    start "B"
end

add-inventory-status step A is
    status Active
on success
    finish
end

add-inventory-status step B is
    status inventory-status-1
on success
    finish
end

Parent topic: Core component process steps