Adding input parameters using the workflow

The inputs change more frequently than the assignments. The inputs can be added by the LaunchWorkflow function.

Use StartWorkflow to start the workflow.

Use LaunchWorkflow to open the Launch Workflow form. This function can provide values for input parameters instead of the user providing the input.

Input parameters added by workflows can be designated as read-only. These parameters can also be added as editable. The form can be displayed or bypassed by the function. This example shows a read-only field for an input parameter for a vendor name.

An ITEM_APPROVAL workflow for item 00031 is launched from within the FORMULA_APPROVAL workflow. The input parameter VENDOR is retrieved by the ObjPropertyGet script from the Item > References tab. The value is entered in the Launch Workflow form. Because of the input configuration above, it is read-only.


launchWorkflow("ITEM_APPROVAL", "ITEM", "00031", "ACME")

After the workflow starts, a dialog opens. This dialog shows the values of the input parameters. If the field is not read-only, the user can modify it.

For more information, see the Infor PLM for Process Scripting Administration Guide.