<?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 Default Custom Code Understanding? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/default-custom-code-understanding/m-p/13534350#M42539</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.0.10 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi Team,&lt;/P&gt;
 &lt;P&gt;I would like to confirm my understanding on below parameters as defined by default in process flow custom codes:&lt;/P&gt;
 &lt;OL&gt;&lt;LI&gt;Object current = param(1);&lt;/LI&gt;&lt;LI&gt;treenode activity = param(2);&lt;/LI&gt;&lt;LI&gt;Token token = param(3);&lt;/LI&gt;&lt;LI&gt;treenode processFlow = ownerobject(activity);&lt;/LI&gt;&lt;/OL&gt;
 &lt;P&gt;Here is the my understanding in same sequence:&lt;/P&gt;
 &lt;P&gt;1. defines object the activity is related to.&lt;/P&gt;
 &lt;P&gt;2. defines activity treenode&lt;/P&gt;
 &lt;P&gt;3. defines token flow through activity&lt;/P&gt;
 &lt;P&gt;4. defines activity treenode&lt;/P&gt;
 &lt;P&gt;I would like to hear from you in more detail to get more clarity on these points with the help of example if possible?&lt;/P&gt;
 &lt;P&gt;Thank you!&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 12 Jul 2022 07:56:50 GMT</pubDate>
    <dc:creator>rajankur6494</dc:creator>
    <dc:date>2022-07-12T07:56:50Z</dc:date>
    <item>
      <title>Default Custom Code Understanding?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/default-custom-code-understanding/m-p/13534350#M42539</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.0.10 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi Team,&lt;/P&gt;
 &lt;P&gt;I would like to confirm my understanding on below parameters as defined by default in process flow custom codes:&lt;/P&gt;
 &lt;OL&gt;&lt;LI&gt;Object current = param(1);&lt;/LI&gt;&lt;LI&gt;treenode activity = param(2);&lt;/LI&gt;&lt;LI&gt;Token token = param(3);&lt;/LI&gt;&lt;LI&gt;treenode processFlow = ownerobject(activity);&lt;/LI&gt;&lt;/OL&gt;
 &lt;P&gt;Here is the my understanding in same sequence:&lt;/P&gt;
 &lt;P&gt;1. defines object the activity is related to.&lt;/P&gt;
 &lt;P&gt;2. defines activity treenode&lt;/P&gt;
 &lt;P&gt;3. defines token flow through activity&lt;/P&gt;
 &lt;P&gt;4. defines activity treenode&lt;/P&gt;
 &lt;P&gt;I would like to hear from you in more detail to get more clarity on these points with the help of example if possible?&lt;/P&gt;
 &lt;P&gt;Thank you!&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Jul 2022 07:56:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/default-custom-code-understanding/m-p/13534350#M42539</guid>
      <dc:creator>rajankur6494</dc:creator>
      <dc:date>2022-07-12T07:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Default Custom Code Understanding?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/default-custom-code-understanding/m-p/13534351#M42540</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;In a general process flow, 'current' will refer to the process flow and not the involved instance object.  Only in an Object Process Flow will current refer to the object instance. So:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;current :- the instance object OR the process flow&lt;/LI&gt;&lt;LI&gt;activity :- the activity where this code resides&lt;/LI&gt;&lt;LI&gt;token :- the triggering token&lt;/LI&gt;&lt;LI&gt;processFlow :- the flow where the activity is located (the same as 'current' in a General Process Flow)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Jul 2022 08:15:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/default-custom-code-understanding/m-p/13534351#M42540</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-07-12T08:15:50Z</dc:date>
    </item>
  </channel>
</rss>

