web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

HR process

(0) ShareShare
ReportReport
Posted on by 51
HI there
 
We intend to send the relevant position description based on the role selected in the form, along with the standard payroll forms.
 
There are 4 potential folders based on the role selection
 
Then i want the word documents to be updated based on the selections.
 
I have not done this before  - any suggestions?
 
regards
pic 3.png
Categories:
I have the same question (0)
  • Verified answer
    abc 123 Profile Picture
    789 Moderator on at
    There exists a Switch action that is a little cleaner than a bunch of nested conditions.
     
    Pseudo Code:
    User Uploads document to incoming folder and select metadata Role.
    Flow is triggered.
     
    Init strFolder As String = "Error"
     
    If Role is null, Terminate Cancel.
    Else....
     
    Switch based on Role
    Role = Apple
      strFolder = A
    Role = Peach
      strFolder = P
    Role = ...
      strFolder = ...
    //End of Switch
     
    If strFolder <> Error
      Move File
      Current Location: Incoming Folder
      Destination Location: strFolder
    End If //strFolder <> Error
     
    End If //Role is Null
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 881

#2
Valantis Profile Picture

Valantis 823

#3
Haque Profile Picture

Haque 485

Last 30 days Overall leaderboard