WipParamGet

You can use this function for Optiva Workflows.

Purpose

The function WipParamGet has the ability to retrieve a parameter that was set in Action Set form as user input.

Syntax

string WIPParamGet(string paramCode)

Return Value

The function retrieves the wip parameter value as String.

Arguments

Part Description
paramCode The input code matched in the FSACTIONSETPARAM table.

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")
string permGroup = WIPParamGet("PERMGRP");
string permGroup = WIPParamGet("PERMGRP");