<?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 reference/filter Task Sequences by type in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-filter-task-sequences-by-type/m-p/13561484#M63831</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;I found a way by assigning the TaskType to a label in the Source.  Then adding a Decide activity which sends token to a Sink if TaskType&amp;lt;&amp;gt;12.&lt;P&gt;This works but I was hoping for a more direct way of filtering directly in the Match Value field of the Source.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 02 Sep 2021 14:41:18 GMT</pubDate>
    <dc:creator>patrickABAWF</dc:creator>
    <dc:date>2021-09-02T14:41:18Z</dc:date>
    <item>
      <title>How to reference/filter Task Sequences by type</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-filter-task-sequences-by-type/m-p/13561483#M63830</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.1.5 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello, in the attached sample model, I'm trying to trigger some activities when the operator starts Delay type Tasks and trigger other activities when he ends those same Delay type Tasks.&lt;/P&gt;&lt;P&gt;This is required because I want to centralize to things in a subflow so I don't have to repeat them all over the model.&lt;/P&gt;&lt;P&gt;How do I filter the tasks in the Event-Triggered Source so that it only fires for Delay type tasks and not other tasks such as Travel? &lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/43491-reference-tasksequence-type.fsm" target="_blank"&gt;Reference TaskSequence type.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Sep 2021 14:26:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-filter-task-sequences-by-type/m-p/13561483#M63830</guid>
      <dc:creator>patrickABAWF</dc:creator>
      <dc:date>2021-09-02T14:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference/filter Task Sequences by type</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-filter-task-sequences-by-type/m-p/13561484#M63831</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;I found a way by assigning the TaskType to a label in the Source.  Then adding a Decide activity which sends token to a Sink if TaskType&amp;lt;&amp;gt;12.&lt;P&gt;This works but I was hoping for a more direct way of filtering directly in the Match Value field of the Source.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Sep 2021 14:41:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-filter-task-sequences-by-type/m-p/13561484#M63831</guid>
      <dc:creator>patrickABAWF</dc:creator>
      <dc:date>2021-09-02T14:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference/filter Task Sequences by type</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-filter-task-sequences-by-type/m-p/13561485#M63832</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Which brings me the questions: Are Delays always Task Type 12?  And is there a list of TaskTypes numbers? I couldn't find it in the manual.&lt;P&gt;Thanks,&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Sep 2021 14:43:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-filter-task-sequences-by-type/m-p/13561485#M63832</guid>
      <dc:creator>patrickABAWF</dc:creator>
      <dc:date>2021-09-02T14:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference/filter Task Sequences by type</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-filter-task-sequences-by-type/m-p/13561486#M63833</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can define the task type in the event triggered source when you are listening to the "Start Task" event of a Task Executer. Task types are integers. There are defines in FlexSim in the form of "TASKTYPE_..." that you can use in place of the numerical values. Then you want to select "match value" to only trigger if the task has the correct type.&lt;/P&gt;&lt;P&gt;If you want the numerical values, they are easy to find by typing the corresponding define into the script console (see attached model).&lt;/P&gt;&lt;P&gt;You can find the values of the task types easily by typing the corresponding define into the script console. (If you type "TASKTYPE_" FlexSim will suggest the possible options)&lt;/P&gt;&lt;P&gt;Attached is a simple model with three sources: One triggering on travel, one on load and one on any task.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/43469-source-by-tasktype.fsm" target="_blank"&gt;Source_by_TaskType.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also your model with the sources adjusted accordingly.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/43470-reference-tasksequence-type-fm.fsm" target="_blank"&gt;reference-tasksequence-type_fm.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Sep 2021 15:02:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-reference-filter-task-sequences-by-type/m-p/13561486#M63833</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2021-09-02T15:02:53Z</dc:date>
    </item>
  </channel>
</rss>

