There are three ways to connect the two activities. If the Toolbox window is not displayed, select Toolbox from the View menu.ĭrag a Prompt activity from the NumberGuessWorkflowActivities section of the Toolbox, drop it below the Assign activity from the previous step, and connect the Prompt activity to the Assign activity. Type Turns into the Name box that is below the newly added MaxNumber argument, select Out from the Direction drop-down list, select Int32 from the Argument type drop-down list, and then press ENTER.Ĭlick Arguments in the lower-left side of the activity designer to close the Arguments pane.Ĭlick Variables in the lower-left side of the workflow designer to display the Variables pane. Type MaxNumber into the Name box, select In from the Direction drop-down list, select Int32 from the Argument type drop-down list, and then press ENTER to save the argument.
![microsoft office draw flow chart microsoft office draw flow chart](https://i.pinimg.com/originals/d6/e4/64/d6e46465665a46642ed5c21531e14266.png)
To create the workflow variables and argumentsĭouble-click FlowchartNumberGuessWorkflow.xaml in Solution Explorer to display the workflow in the designer, if it is not already displayed.Ĭlick Arguments in the lower-left side of the workflow designer to display the Arguments pane. Type FlowchartNumberGuessWorkflow into the Name box and click Add.ĭrag a Flowchart activity from the Flowchart section of the Toolbox and drop it onto the Drop activity here label on the workflow design surface. In the Installed, Common Items node, select Workflow.
![microsoft office draw flow chart microsoft office draw flow chart](https://i.pinimg.com/originals/4c/4e/1d/4c4e1d041328bff15d5dadb89bf308ea.png)
Right-click NumberGuessWorkflowActivities in Solution Explorer and select Add, New Item. To complete this topic, you must first complete How to: Create an Activity. Each topic in the Getting Started tutorial depends on the previous topics.