<?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: How to assign a value to workflowDescription varaible in a workflow in Scripting</title>
    <link>https://community.extremenetworks.com/t5/scripting/how-to-assign-a-value-to-workflowdescription-varaible-in-a/m-p/73060#M441</link>
    <description>&lt;P&gt;Stephan,&lt;/P&gt;&lt;P&gt;You made my day!!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mig&lt;/P&gt;</description>
    <pubDate>Mon, 12 Oct 2020 20:51:50 GMT</pubDate>
    <dc:creator>Miguel-Angel_RO</dc:creator>
    <dc:date>2020-10-12T20:51:50Z</dc:date>
    <item>
      <title>How to assign a value to workflowDescription varaible in a workflow</title>
      <link>https://community.extremenetworks.com/t5/scripting/how-to-assign-a-value-to-workflowdescription-varaible-in-a/m-p/73058#M439</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to populate the field workflowDescription based on the result of the workflow to have it reflected in the dashboard under Description or Message.&lt;/P&gt;&lt;P&gt;Any idea how to do that?&lt;/P&gt;&lt;FIGURE&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="c1646686357a4dbb8b6808010976212e_c3f7880f-eb4b-411a-b20a-1604eb4c9476.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/2254iCB76476E73F5CCCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="c1646686357a4dbb8b6808010976212e_c3f7880f-eb4b-411a-b20a-1604eb4c9476.png" alt="c1646686357a4dbb8b6808010976212e_c3f7880f-eb4b-411a-b20a-1604eb4c9476.png" /&gt;&lt;/span&gt;&lt;/FIGURE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mig&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 16:17:51 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/how-to-assign-a-value-to-workflowdescription-varaible-in-a/m-p/73058#M439</guid>
      <dc:creator>Miguel-Angel_RO</dc:creator>
      <dc:date>2020-10-11T16:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign a value to workflowDescription varaible in a workflow</title>
      <link>https://community.extremenetworks.com/t5/scripting/how-to-assign-a-value-to-workflowdescription-varaible-in-a/m-p/73059#M440</link>
      <description>&lt;P&gt;Hello Mig,&lt;/P&gt;&lt;P&gt;as far as I know the “General” description can’t changed in the workflow at runtime:&lt;/P&gt;&lt;FIGURE&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="cc64e8d68a194ed7aee3f17fafaa3d56_d97b9d8e-4c94-4f0f-ab79-26b5d993e6c4.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/1642iB3643E03ECB7D6E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="cc64e8d68a194ed7aee3f17fafaa3d56_d97b9d8e-4c94-4f0f-ab79-26b5d993e6c4.png" alt="cc64e8d68a194ed7aee3f17fafaa3d56_d97b9d8e-4c94-4f0f-ab79-26b5d993e6c4.png" /&gt;&lt;/span&gt;&lt;/FIGURE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But you can use the buildin variable “workflowMessage” (available on the dashboard, too). If you do not the this column on the dashboard you can change the behaviour in the column header.&lt;/P&gt;&lt;P&gt;To write the variable use the following python command in your workflow:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class="language-python"&gt;msg = "Thats my message"&lt;BR /&gt;emc_results.put("workflowMessage", msg)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;There is a variable “workflowDescription”, too. But I think this is not shown in the Dashboard. It’s not the same like the Info in the screen above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 20:32:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/how-to-assign-a-value-to-workflowdescription-varaible-in-a/m-p/73059#M440</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2020-10-12T20:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign a value to workflowDescription varaible in a workflow</title>
      <link>https://community.extremenetworks.com/t5/scripting/how-to-assign-a-value-to-workflowdescription-varaible-in-a/m-p/73060#M441</link>
      <description>&lt;P&gt;Stephan,&lt;/P&gt;&lt;P&gt;You made my day!!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mig&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 20:51:50 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/how-to-assign-a-value-to-workflowdescription-varaible-in-a/m-p/73060#M441</guid>
      <dc:creator>Miguel-Angel_RO</dc:creator>
      <dc:date>2020-10-12T20:51:50Z</dc:date>
    </item>
  </channel>
</rss>

