Scripts

Scripts are lines of code. The code is produced using Optiva scripting functions and Visual Basic .NET language. The scripts instruct the system on how to process a response by following a specific course of action. For example, the system administrator writes a script for the Reject button. This button is used to cancel the workflow and notify someone. Clicking Reject for a task initiates this script.


dim formula, string1, string2 as string
string1 = "Formula77"
string2 = "001"
formula = string1 & "\" & string2
dim message As Long = MessageList("The new formula code ",formula," was created by this workflow")

return 111

See the Infor PLM for Process Scripting Administration Guide.