From 5d1d2fec0533e897a315ded33427ba0b84b15733 Mon Sep 17 00:00:00 2001 From: Marcel Weinberg Date: Sun, 12 Jan 2020 01:20:29 +0100 Subject: [PATCH] add an example for an Orquesta workflow querying multiple parameters via core.ask --- docs/source/inquiries.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/source/inquiries.rst b/docs/source/inquiries.rst index a06489964..a4cf7cfae 100644 --- a/docs/source/inquiries.rst +++ b/docs/source/inquiries.rst @@ -160,6 +160,12 @@ workflow, just like we saw previously with ActionChains: it. So if you're curious which workflow a given Inquiry is part of, use the same ID with the ``st2 execution get`` command. +The example below shows a slightly extended version of the basic Orquesta workflow above. This one +uses a JSON schema to query and verify multiple parameters and shows how to refer to single values +for further processing. + +.. literalinclude:: /../../st2/contrib/examples/actions/workflows/orquesta-ask-multiple-parameters.yaml + :language: yaml Notifying Users of Inquiries using Rules ----------------------------------------