Element "zpro > process > MScriptingProcess"

Top  Previous  Next

MScripting Process Element has only one parameter which is MScript.

You can use this process for example to evaluate the results of the preceding processes and 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 Condition Code

    @set(_maxcc,4)  

 

    @// That overrides the next page defined in ExecuteCommand's Next Page Property

    @set(_nextpage, i:warningpage) 

 

  @doend()