run-generic-process

The run-generic-process step executes a generic process and waits for it to complete.

Format

run-generic-process step "foo" is
    -- name of the component process to run; required
    process "generic-process-1"

    -- resource tree path where process will execute; optional
    -- default is the process's default path
    resource-path "${p:resource.path}"

    -- suppress warnings generated by child; optional
    -- default is false
    ignore-child-warnings true

    -- set a process property value; optional, repeatable
    property "prop-1" = "prop-value-1"

Properties

Table 1. Run Generic Process properties
Field Description
Name A name for the step. Other process steps can refer to this step by this name.
Process The generic process to run.
Resource Path The resource on which to run the generic process.
Other properties After you select a generic process, the properties for that process are listed. You can set values here to pass to the process.

Example

start is
    start A
    start B
end

run-generic-process step A is
    process "proc-1"
    resource-path "resource-path-1"
    ignore-child-warnings true
    property "prop-1" = "prop-value-1"
    property "prop-2" = "prop-value-2"
    property "prop-3" = "prop-value-3"
on success
    finish
end

run-generic-process step B is
    process "proc-2"
on success
    finish
end