The following sample code creates a simple workflow Initiation Form that allows end users to enter values for workflow parameters ...

The following sample code creates a simple workflow Initiation Form that allows end users to enter values for workflow parameters when initiating a workflow instance.
        The sample JavaScript below will start a workflow instance using the initiation parameter values provided by the user.