Skip to main content

Using Integer Variables

Integer/Int32 are the variables which take numbers as value. These types of variables are used in the mathematical calculation process.

Variable Pane

Note: User can choose other primitive integer data types by clicking on Browse for Types... Type and select the appropriate data type.

Variable Pane

Let us understand the integer variable with an example process. Here is an example that takes two subjects' scores out of 100 as input from the user and displays the total marks and percentage.

Come, let's create this process in Process Designer:

Step#1

Launch and create a new process in Process Designer

  • Launch Process Designer from the Windows Start menu located under IntelliBuddies Enterprise

Step#2

Create New Process

  • Click on New Process and fill in the new process details

Step#3

  • Add variables to hold the marks, total, and percentage.

Step#4

In Activity panel search for Input Dialog

  • Drag and drop Input Dialog activity to main panel.
  • Add two Input Dialog
  • Takes the marks as input and sets to int variable.

Step#5

  • Compute and assign the total and percentage of marks entered.
  • Display the total and percentage of marks entered in output window using Writeline.

Step#6

Save the process

  • From the Design tab ribbon, click on Save

Step#7

Run the process

  • From the Design tab ribbon, click on Run

Step#8

Make sure the process executes and pops up input dialogs. Enter the number and click on Ok. Then in the output window, total marks and percentages are displayed.

Download Example (C#)