<?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 Conditional outputs from a modal in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/conditional-outputs-from-a-modal/m-p/9818#M3997</link>
    <description>&lt;DIV class=""&gt;I have a modal where users can select multiple items. For only one of the items, selecting it triggers a second modal where the user must choose a subspecialty.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;If the user selects that item, I want the final output to be a list of the user's selections in the first modal, but I want the subspecialty, to completely replacing the original item. For all other items that don’t require a subspecialty, the original selections should appear in the output as-is.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-05-08 at 2.16.15 PM.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2041iD2F2EBA82CF485CE/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-05-08 at 2.16.15 PM.png" alt="Screenshot 2025-05-08 at 2.16.15 PM.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 08 May 2025 21:17:26 GMT</pubDate>
    <dc:creator>jarh15</dc:creator>
    <dc:date>2025-05-08T21:17:26Z</dc:date>
    <item>
      <title>Conditional outputs from a modal</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/conditional-outputs-from-a-modal/m-p/9818#M3997</link>
      <description>&lt;DIV class=""&gt;I have a modal where users can select multiple items. For only one of the items, selecting it triggers a second modal where the user must choose a subspecialty.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;If the user selects that item, I want the final output to be a list of the user's selections in the first modal, but I want the subspecialty, to completely replacing the original item. For all other items that don’t require a subspecialty, the original selections should appear in the output as-is.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-05-08 at 2.16.15 PM.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2041iD2F2EBA82CF485CE/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-05-08 at 2.16.15 PM.png" alt="Screenshot 2025-05-08 at 2.16.15 PM.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 May 2025 21:17:26 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/conditional-outputs-from-a-modal/m-p/9818#M3997</guid>
      <dc:creator>jarh15</dc:creator>
      <dc:date>2025-05-08T21:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional outputs from a modal</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/conditional-outputs-from-a-modal/m-p/9832#M4001</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/10552"&gt;@jarh15&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Just to understand more:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Regarding the subspecialty values:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Are these hardcoded, or&lt;/LI&gt;&lt;LI&gt;Are they dynamically fetched through a menu using an item ID?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Understanding the Modal Relationship:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is there a code-level relationship between the first and second modal values?&lt;/LI&gt;&lt;LI&gt;Or are they functioning independently?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Suggested Solutions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;You can use the "View JSON" values in JSON parser to capture selected values from both modals&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Python script approach (most efficient)&lt;/LI&gt;&lt;LI&gt;Alternative solution without Python (requires more tasks)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If the modal values are hardcoded and independent:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use variables after parsing JSON view data pill&lt;/LI&gt;&lt;LI&gt;Remove subspecialty entries using formulas&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;There are still several aspects we need to clarify:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Output Requirements:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do you need text values or backend values in the output?&lt;/LI&gt;&lt;LI&gt;Are your text and values identical?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;List of Values (LOV) Configuration:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What type of LOV are you using in both modals (static or dynamic)?&lt;/LI&gt;&lt;LI&gt;If static, we can leverage the parameter section&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Please provide details about:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The architecture used to populate your modal LOVs&lt;/LI&gt;&lt;LI&gt;Your specific output requirements (text vs. value)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This information will help us suggest the most effective solution for your needs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2025-05-09 at 17.13.25 PM.png" style="width: 460px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2048iC18A4E03F7EC02D2/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2025-05-09 at 17.13.25 PM.png" alt="Screen Shot 2025-05-09 at 17.13.25 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2025-05-09 at 16.58.29 PM.png" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2047i68A1E8B4AE974D27/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2025-05-09 at 16.58.29 PM.png" alt="Screen Shot 2025-05-09 at 16.58.29 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 11:47:40 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/conditional-outputs-from-a-modal/m-p/9832#M4001</guid>
      <dc:creator>1dheeraj2</dc:creator>
      <dc:date>2025-05-09T11:47:40Z</dc:date>
    </item>
  </channel>
</rss>

