<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can you set token with multiple values? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Can-you-set-token-with-multiple-values/m-p/569484#M10100</link>
    <description>&lt;P&gt;Rather than set try using eval and&amp;nbsp;split to return a multi-value field&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;eval token="form.Filter1"&amp;gt;split("rejected,new",",")&amp;lt;/eval&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 03 Oct 2021 18:11:32 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-10-03T18:11:32Z</dc:date>
    <item>
      <title>Can you set token with multiple values?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Can-you-set-token-with-multiple-values/m-p/569483#M10099</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to change/control many multi-select dropdowns by one Master_multi-select dropdown value/checks.&lt;/P&gt;&lt;P&gt;So I am trying to use more than one value in the set-token tag. But it is not working, if I give 2 values in the&amp;nbsp;Set-token tag. then it will get merge but if I give a single value then it is working fine.&lt;/P&gt;&lt;P&gt;I tried multiple ways like double quotes, single quotes, and many symbols, but I could not find the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the below example and help me to find a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;set token="form.Filter1"&amp;gt; &lt;STRONG&gt;"rejected"&lt;/STRONG&gt;&amp;nbsp;,&amp;nbsp;&lt;STRONG&gt;"new"&amp;nbsp;&lt;/STRONG&gt;&amp;lt;/set&amp;gt;&lt;/P&gt;&lt;P&gt;out put will be like below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thenmozhi1_0-1633281655240.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16262i1E865959AAA59F2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Thenmozhi1_0-1633281655240.png" alt="Thenmozhi1_0-1633281655240.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the expectation is like below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thenmozhi1_1-1633281655325.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16261i70C9A36F21869FE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Thenmozhi1_1-1633281655325.png" alt="Thenmozhi1_1-1633281655325.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Example in multiselect code:-&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input type="dropdown" token="&lt;STRONG&gt;MasterFilter_Token&lt;/STRONG&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;label&amp;gt;MasterFilter&amp;lt;/label&amp;gt;&lt;BR /&gt;...,&lt;/P&gt;&lt;P&gt;&amp;lt;change&amp;gt;&lt;BR /&gt;&amp;lt;condition&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;set token="form.Filter1"&amp;gt; "new", "rejected", "closed" &amp;lt;/set&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...,&lt;/P&gt;&lt;P&gt;&amp;lt;/condition&amp;gt;&lt;BR /&gt;&amp;lt;/change&amp;gt;&lt;/P&gt;&lt;P&gt;...,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/116508"&gt;@token1&lt;/a&gt;&amp;nbsp;@Anonymous&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/149"&gt;@splunk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Oct 2021 17:30:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Can-you-set-token-with-multiple-values/m-p/569483#M10099</guid>
      <dc:creator>Thenmozhi1</dc:creator>
      <dc:date>2021-10-03T17:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can you set token with multiple values?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Can-you-set-token-with-multiple-values/m-p/569484#M10100</link>
      <description>&lt;P&gt;Rather than set try using eval and&amp;nbsp;split to return a multi-value field&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;eval token="form.Filter1"&amp;gt;split("rejected,new",",")&amp;lt;/eval&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Oct 2021 18:11:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Can-you-set-token-with-multiple-values/m-p/569484#M10100</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-10-03T18:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can you set token with multiple values?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Can-you-set-token-with-multiple-values/m-p/569589#M10101</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is working fine.&lt;/P&gt;&lt;P&gt;Thanks a lot for your valuable support and help !!!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 17:49:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Can-you-set-token-with-multiple-values/m-p/569589#M10101</guid>
      <dc:creator>Thenmozhi1</dc:creator>
      <dc:date>2021-10-04T17:49:15Z</dc:date>
    </item>
  </channel>
</rss>

