Sending Workflow Output (Array) to Device List Block

Hi team,

I’m working on a dashboard implementation and need some guidance.

  • I have an Input Controls block that collects user input and a button which triggers an Application Workflow.

  • The workflow processes the input and returns an array of values (for example: a list of device names).

  • I also have a Device List block on the same dashboard.

What I’d like to do is:
:backhand_index_pointing_right: Use the array of values returned by the workflow as the filter/query input for the Device List block, so that the Device List shows only those devices.

Could you please help me with the correct process to wire this up? Specifically:

  • How can I send the workflow’s array back to the dashboard?

  • How should I configure the Device List block to consume that array (device names or IDs) as its source?

Thanks in advance for your help!

Best regards,
Surya

Hey @Surya_Kapisetti!

It is not possible to do this kind of interactivity with an Input Controls block - there’s no way to receive values from the triggered workflow back in the dashboard.

Whenever interactivity get involved, we recommend using Experiences. You build a custom UI that drives interactivity by setting and updating dashboard context variables. You can see this in action by inspecting the implementation of the CPF and how it controls a device context variable.

The Device List block does support advanced queries that can be templated using context variable values. So your custom UI can set context variables that can then be used in the Device List query.