I am using LC Workbench 8.0.1 version, I have a business requirement where in my form I have a dropdown box which contains two options i.e,
If the user selects Accept, I have to route the form to user some "x" or if the user selects Decline then the form should be routed to some user "y" .
To implement this I need to capture the user selected value which is a String.
I'm assuming you're using a xfaForm variable that points to an XDP in the repository to render your document.
In that case, you set the Form Data Mapping to point to that xfaForm variable in the User step.
When the user submits the form the xfaForm variable contains the data for the form in an XML format. You can have multiple routes that come out of your user step that will check a certain value in the xfaForm variable.
The xml data for you form will be located under the /process_data/xfaForm/data/datasets/data node.
You can use an xPath similar to /process_data/xfaForm/object/data/xdp/datasets/data/myNode/MyField
you can also use the // notation to do a full search within the data node if you're not sure of the structure: