Monitor a Wrkflow
Watches a child Wrkflow that is already running and returns messages from its Launch Console. Use with Launch an async Wrkflow, which starts a child Wrkflow in the background and returns a Launch ID.
Expect a result within roughly 15 to 60 seconds after a console message or when the child finishes. For immediate notification, use Launch a sync Wrkflow instead.
For setup guidance and how to wire outcomes back into the monitor loop, see Monitor a Wrkflow (how-to).
Application
- Wrk
Inputs (what you have)
| Name | Description | Data Type | Required? | Example |
|---|---|---|---|---|
| Wrk API key | Your Wrk API key from https://account.wrk.com/api-key | Connected Account | Yes | |
| Wrkflow launch ID | The Launch ID to monitor | Number | Yes |
Outputs (what you get)
| Name | Description | Data Type | Required? | Example |
|---|---|---|---|---|
| Message | Latest message from the monitored Launch Console | Text (Long) | No | |
| Message status | COMPLETED, INFORM, or QUESTION | Text (Short) | No | |
| Question ID | ID of the question to reply to (Question only) | Text (Short) | No | |
| Activities array | List of everything seen during this check | Text (Long) | No |
Outcomes
| Name | Description |
|---|---|
| Success | The child Launch finished. Message status is COMPLETED. |
| Info | The child is still running and sent a new info message. Message status is INFORM. Run Monitor a Wrkflow again after you handle the update. |
| Question | The child is still running and is waiting for an answer. Message status is QUESTION. Question ID is filled in. Question comes before Info if both apply. |
Requirements
- N/A