Your Privacy
We use cookies to give you a better experience in Alchemy Help Center
You can learn more about what kind of cookies we use, why, and how from our Privacy Policy. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings in our cookie banner to change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer. For more details, check out our Privacy Policy link below.
View Privacy Policy
Strictly Necessary Cookies
These cookies are necessary for the website to function and cannot be switched off in our systems, but do not store any person information. They are usually set in response to your actions that triggers a request for services, such as setting your privacy preferences, logging in or filling forms. You can change your browser settings to alert you about these cookies, but some parts of the Website may not work.
View Cookies
I have a function that calculates the sum of two numbers and stores the result in a variable within the function. Is it possible to pass this result back to the function's caller? If so, how can this be achieved?
0 Votes
Clark posted 3 months ago Best Answer
Yes, it is possible. To do this add a "Promote" action step to your function. In the Promote step you need to just type in the variable name to promote to the calling test. Note: you cannot just drag it in to the step from the data toolbox.
Here is the function:
Here is the Test:
0 Votes
1 Comments
Clark posted 3 months ago Answer
Yes, it is possible. To do this add a "Promote" action step to your function. In the Promote step you need to just type in the variable name to promote to the calling test. Note: you cannot just drag it in to the step from the data toolbox.
Here is the function:
Here is the Test:
0 Votes
Login or Sign up to post a comment