|
MScriptingProcess executes the MScript codes.
You can use this process, for example, to evaluate the results of the preceding processes and to set a value to a Process Record Field or to a Pool Variable.
Example:
@doif(_update_cc > 8 and v:processed_qty > 0)
@set(v:msg, 'Something went wrong. The processed quantity is ' + v:processed_qty)
@// That overrides the current Maximum Level Condition Code
@set(_maxlcc,4)
@// That overrides the next page defined in ExecuteCommand's Next Page Property
@set(_nextpage, i:warningpage)
@doend()
|
<process name="HelloWorld" basedon="moremotion.MScriptingProcess">
<param name="mscript">@echo('Hello MoreMotion World!')</param>
</process>
|
|