Hello,
I need to know if the community can lend some insight on using a Switch Action in a State Machine.
First some background - I have SharePoint 2013 on premise and Nintex Workflow 2013 Workgroup edition.
I have a custom list that I am using for Purchase Order Requisitions. This workflow is broken down into two sections - The approval process and the PO number generation process.
I have attached a JPG and a PDF of the current workflow that I am testing. The output is not pretty but you are able to get the idea of what I am trying to accomplish. I used the Nintex Workflow Analyzer to generate this image. For more information about the Workflow Analyzer read my post Export workflow to visioā or visit Aaron Labiosaā's Codeplex page at the link here - https://workflowanalyzer.codeplex.com/
The second half of the workflow, the PO number generation process works with no issues and it is a Switch Action that evaluates a variable that captures the company name at the beginning of the workflow.
I am having an issue in the first half of the workflow, when the workflow goes down a certain branch and hits the first Switch Action that I have in a State Machine. The switch is shown below in the screen capture.
In the configuration of the Switch I set the options as follows as seen below in he screen capture:
It evaluated the total of the PO that was captured in a variable called varTotal. This variable is created as a Single Line of Text. This did not work when using a variable. I then configured the Switch using the value in the total field directly as seen in the screen shot below:
Each time the workflow failed to continue processing once it hit the Switch action with either of the configurations.
I am looking for information and suggestions from the community about what the issue is with the Switch action inside the State Machine portion of the workflow an or how to configure the Switch that I have inside the State Machine.
I am also looking for suggestions and or tips on how to make this workflow more efficient or stream lined