We have a scenario where we have a list box variable that uses a value provider and we want to create a webhook that populates that input variable dynamically based on some value it receives from the system that is using/triggering the webhook. That seems to not be possible, as the webhook only let's us set a value for that variable from the dropdown when setting up the webhook.

Right now, webhook event triggers allow dynamic entry of variables based on webhook trigger data but list box does not support selecting data based on the webhook trigger data.

More details in this support case - https://support.digital.ai/hc/en-us/requests/194902

Comments

  • Thank you for providing context regarding your feature request concerning the utilization of a list box variable in conjunction with a webhook. It's evident that you have a specific scenario in mind, where you aim to dynamically populate this input variable based on incoming data from a system via a webhook.

    - Could you please provide additional details regarding the specific use case you have in mind for this feature? We are particularly interested in understanding the nature of the data this variable represents, whether it pertains to the application, environment, or any other specific aspect.

    - To confirm our understanding: you intend to validate whether the received value from a value provider matches any of the items in a predefined list. This would involve comparing the received value with a predetermined list of acceptable values. If this is the case, what action should be taken if the received value does not align with any item on the list?

    ---Should this intent be logged, and the release prevented from starting?
    ---Alternatively, have you envisioned any other specific action in such scenarios?

  • - Could you please provide additional details regarding the specific use case you have in mind for this feature? We are particularly interested in understanding the nature of the data this variable represents, whether it pertains to the application, environment, or any other specific aspect.
    -- We have List box variables set up with value providers that get data from another system and they are used to compile a dropdown list of potential options for an input. We want to be able to use this input variable with a webhook/trigger as well, but it's not possible, as the List box variable with value provider doesn't seem to support that. They values are strings. And yes, they are environments and applications, but not in the sense of the XLR/XLD environments/applications. They are our environments and applications, from our internal inventory system, so this is different, don't think of them as XLR/XLD environments/applications, just a dropdown list with, let's say, possible subnets for a resource.

    - To confirm our understanding: you intend to validate whether the received value from a value provider matches any of the items in a predefined list. This would involve comparing the received value with a predetermined list of acceptable values. If this is the case, what action should be taken if the received value does not align with any item on the list?
    -- Validation would be ideal and useful, but not mandatory. We can handle validation separately in the release for example, but it would definitely be useful for that validation to happen implicitly. The trigger/webhook call should definitely fail when validation fails.

    ---Should this intent be logged, and the release prevented from starting?
    ---- If validation is in place, then yes. Maybe a configurable behavior of allowing or not the release to start if the validation fails would be useful as well.

    ---Alternatively, have you envisioned any other specific action in such scenarios?
    ---- I can't think of any other action that can be taken in this situation. I am guessing an email notification would be useful. I don't know for a fact, but I assume such notifications might already be in place for failed triggers?