<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>StresStimulus Forum - SUPPORT QUESTIONS - Scriptable variable to control execution - Messages</title>
<link>https://www.stresstimulus.com/forum/scriptable-variable-to-control-execution-860</link>
<description>StresStimulus Forum - SUPPORT QUESTIONS - Scriptable variable to control execution - Messages</description>
<language>en-us</language>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Jitbit AspNetForum</generator>
<pubDate>Tue, 28 Apr 2020 18:13:51 GMT</pubDate>
<lastBuildDate>Tue, 28 Apr 2020 18:13:51 GMT</lastBuildDate>
<item>
<link>https://www.stresstimulus.com/forum/scriptable-variable-to-control-execution-860</link>
<title>Message from George @StresStimulus</title>
<description><![CDATA[Scriptable variables are described <a href="http://support.stresstimulus.com/display/doc52/Scriptable+Variables" target="_blank" rel="nofollow">http://support.stresstimulus.com/display/doc52/Scriptable+Variables</a><br/>  First you need to create a scriptable variable, call it “ExternalCondition”. Implement the GetValue method that returns “false” on the 10th iteration and “true” on other iterations.<br/>      string IExternalVariable.GetValue(SessionContext context)    {       Return (context.IterationNumber == 10) ? "false" : "true";    } <br/>   <br/>  Then create an If…Then condition around your transaction and set the following properties:<br/><br/><br/><img src="https://www.stresstimulus.com/forum/getsetimg.aspx?id=25194422147a4a14a091e0d3fa2bb16f" border="0">]]></description>
<pubDate>Tue, 28 Apr 2020 18:13:51 GMT</pubDate>
</item>
<item>
<link>https://www.stresstimulus.com/forum/scriptable-variable-to-control-execution-860</link>
<title>Message from Unregistered User</title>
<description><![CDATA[I would like to create a scriptable variable that can be used in conditional statements. How to use iteration number in a scriptable variable.  I need to execute a transaction on all iterations except the 10th iteration.]]></description>
<pubDate>Tue, 28 Apr 2020 13:32:20 GMT</pubDate>
</item>
</channel>
</rss>
