Skip to main content

Definition of variable

This time, I will explain how to define variables that can be used for holding and output of values in the flow.

Details of "Configuring variables" action

This time, we use the action called "Variables".

The action has the following parameters.

Parameter namevalue
settingMeaned variable names
destinationValue stored in variables


Implemented with copy and paste

This time, as a sample, we have prepared a flow to define the string and numbers, and the variables.

Copy the following code and paste it on the edit screen of Power Automate Desktop to add the target action.

SET VarNumber TO 15000
SET VarString TO $'''hello'''

Operate and implement Power Automate Desktop

  1. Enter "Setting Variables" from "Action Search".

  2. Set the parameter as follows

    Parameter namevalue
  3. By execution, you can define variables that can be used for value retention and output in the flow.

Exceptions that can occur

At the stage of defining, an error may occur about the description method, but this action will not throw an exception during the flow execution.

There is no need to prepare block processing.