Obtain the status of a particular PEcAn workflow by supplying its ID. Hits the /api/workflows/{id}/status API endpoint

get.workflow.status(server, workflow_id)

Arguments

server

Server object obtained using the connect() function

workflow_id

ID of the PEcAn workflow whose status are needed

Value

Response obtained from the /api/workflow/{id}/status endpoint

Author

Tezan Sahu

Examples

server <- connect(url="http://pecan.localhost:80", username="carya", password="illinois")

# Get details of workflow with id = '1000009172'
res <- get.workflow.status(server, workflow_id=1000009172)
#> Sorry! Server not responding.