How to use a list as input argument in List options in automation?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

How to use a list as input argument in List options in automation?

L1 Bithead

Hi Everyone,

I am creating a automation which shows a dynamic drop down list as input to user using List options of arguments but I am not able to find any way to do this.

nitinmaurya_0-1705870713615.png

Anything I give in highlighted text box is static to user but I want to list dynamic options using list.

2 REPLIES 2

L2 Linker

Hello Nitin,

 

The "List options" is used to show a dropdown list of values for that argument when you are trying to use your automation in the task. 

 

If you want to use a dynamic list in your automation you can utilize different list commands found in the Script Helper or you can use the automation in a playbook task and use the value of a dynamic list I.e. "${listname}" as the value of an argument. 

 

I hope this helps.

Hey Thanks Albmartinez for the reply.

Yes, I can use list from script helper in automation but that is not the problem.
I am actually trying to show different options depending on different incidents.

For example, if I get some incident related to "Endpoint Isolation" then consider a Button as "Remediation" and when Analyst clicks on it, then it will show option1: Isolate host & option2: Quarantine Host
But when any incident related to "User Isolation" comes then from the same "Remediation" button I want to show option1: Password Reset and option2: Disable user.

I don't see any way to achieve it through list options in button script

  • 881 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!