diff --git a/backend/files/misc/workflows/actions/misc/config-get.hl b/backend/files/misc/workflows/actions/misc/config-get.hl new file mode 100644 index 0000000000..148c68de27 --- /dev/null +++ b/backend/files/misc/workflows/actions/misc/config-get.hl @@ -0,0 +1,19 @@ + +/* + * Returns the specified [key] configuration setting. + * + * Notice, to traverse into for instance magic.foo.bar, you'll have to colon separate + * your path as follows "magic:foo:bar". + */ +.arguments + key + type:string + mandatory:bool:true +.icon:account_balance + +// Retrieves config entry. +config.get:x:@.arguments/*/key + +// Returns result of above invocation to caller. +yield + value:x:@config.get diff --git a/backend/files/misc/workflows/actions/misc/log.hl b/backend/files/misc/workflows/actions/misc/log-create.hl similarity index 100% rename from backend/files/misc/workflows/actions/misc/log.hl rename to backend/files/misc/workflows/actions/misc/log-create.hl