Manual Reuse
Manual Reuse Mapping to Power Automate Desktop
There may be times when a user wants to explicitly define a process or sub-process as its own External flow or code block when exporting to PAD. To do so, follow these instructions
Using Rules Dashboard
Manual reuse Rules currently cannot be added using the dashboard. They must be added manually using the CSV method and then once added they will be listed under the Reuse tab in Rules dashboard.
Using CSV
- Export CSV
To start using the CSV Rules sheet, the user must export the Rules table to CSV. To do so, from the Rules dashboard, click Advanced -> Export Rules to CSV
Because manual reuse mapping is user driven, the CSV export will not have a row representing this reuse opportunity. The user will have to fill in all necessary rows.
- Configure Rules
Fill in the following columns:
- Column A ("ScopeId") = Scope for Rule. Blank implies Instance level
- Column B ("SourceActionType") = REUSABLE_FLOW
- Column C ("TargetActionType") = EXTERNAL_FLOW
- Column F ("SourceActionId") = Checksum
- Column G ("SourceActionName")= Method Name
- Column Y ("IsActive") = TRUE
Scenario 1) Map to New Flow
When mapping to a new flow, column O ("SourceParameterType") will need to be additionally filled in which can have one of two values: Input or Output. In some scenarios where a parameter is both an Input and Output, the row needs to be duplicated with one defined as the Input and the other as the Output.
Scenario 2) Map to Existing Flow
To map to an existing flow, the following columns must be defined by the user
- Column O ("SourceParameterType") = Input or Output
- Column K ("TargetActionId")= GUID of existing flow. Read How to find Flow GUID
- Column L ("TargetActionName") = Name of flow
- Column R ("TargetParameterName") = Typically matches Column N ("SourceParameterName")
- Column Y ("IsActive") = Set to TRUE to enable Rule
- Import Rules CSV
To import rules, from the Rules dashboard, click Advanced -> Import Rules From CSV