WipParamGet

You can use this function for Optiva Workflows.

Purpose

Retrieves a parameter that was set by a previous action or by user input.

Syntax


Dim variable As String = WipParamGet("parameter")

Description

WipParamGet depends on a parameter value set by a previous action with WipParamSet, or by user input. For more information about user input parameters, see the descriptions for the Action Set form in the Infor PLM for Process Workflow Administration Guide.

Examples

In this example, WipParamSet assigns the value FSI to the Input Parameter, NOTIFY.


Dim sValue As String = ("FSI")
MessageList(sValue)
Dim sReturncode As String = WIPParamSet("NOTIFY", sValue)

WipParamGet retrieves the value from the Input Parameter, NOTIFY, and stores it in the variable value.


Dim sValue As String = ("FSI")
sValue = WIPParamGet("NOTIFY")
MessageList(sValue)
Return 111

This sample action starts an action set where a report name is passed in by the user as an input parameter.


Dim sReportName As String = WipParamGet("REPORTNAME")

This action is for an MSDS report. It first retrieves an itemAlias input parameter for the action set. If this parameter is not defined for the action set, then the value is blank. The explode and combine are performed on the item codes.


Dim sItemAlias As String = WipParamGet("ITEMALIAS")