Inputs

  • message: The alert message to print to the console

Outputs

This provider has no outputs

Authentication Parameters

This provider has no authentication

Connecting with the Provider

This provider doesn’t require any connection

Notes

No information yet, feel free to contribute it using the “Edit this page” link the buttom of the page

No information yet, feel free to contribute it using the “Edit this page” link the buttom of the page

Example

config = {
        "description": "Console Output Provider",
        "authentication": {},
}
provider = ProvidersFactory.get_provider(
    provider_id='mock', provider_type="console", provider_config=config
)
provider.notify(
    message="Simple alert showing context with name: {name}".format(
        name="John Doe"
    )
)

In workflows

This provider can be used in workflows.

As “step” to query data, example:

steps:
    - name: Query console
      provider: console
      config: "{{ provider.my_provider_name }}"
      with:
        message: {value}  
        logger: {value}  
        severity: {value}  

As “action” to make changes or update data, example:

actions:
    - name: Query console
      provider: console
      config: "{{ provider.my_provider_name }}"
      with:
        message: {value}  # The message to be printed in to the console
        logger: {value}  # Whether to use the logger or not
        severity: {value}  # The severity of the message if logger is True

Check the following workflow examples: