status: Get status of a workflow

Description Usage Arguments Value Examples

View source: R/status.R

Description

Retrieves the current state for a workflow

Usage

1
2
3
4
5
6
7
status(x, ...)

## S3 method for class 'character'
status(x, id, version = "v1", ...)

## S3 method for class 'WorkflowIdAndStatus'
status(x, ...)

Arguments

x

Cromwell API endpoint of WorkflowIdAndStatus object.

...

not used

id

A workflow ID.

version

Cromwell API Version.

Value

WorkflowIdAndStatus object containing status and id.

Examples

1
2
3
4
5
6
7
8
## Not run: 
host <- "http://localhost:8000"
workflow <- system.file("extdata/workflow.wdl", package = "CromwellClient")
inputs <- system.file("extdata/inputs.json", package = "CromwellClient")
job <- submit(host, workflow, inputs)
status(job)

## End(Not run)

labbcb/CromwellClient documentation built on Aug. 16, 2020, 9:11 p.m.