Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Zs9VvItmbMEP1m1W8EZ/5I
Power Automate - Building Flows
Answered

how to create GUID in power automate Desktop flow???

Like (0) ShareShare
ReportReport
Posted on 23 Feb 2023 08:08:22 by 162

i want to generate GUID in power automate desktop, i can see it in cloud flow, but not in power automate desktop

  • MitheshRpa Profile Picture
    162 on 23 Feb 2023 at 14:26:54
    Re: how to create GUID in power automate Desktop flow???

    Can i pass variable  to get dictonary key value???

    %Config['Mithesh']%  gives my  value  Bolla

    i had set Variable   Var = Mithesh .

    %Config['%Var%']%  can i get value Bolla?

     

  • Verified answer
    Expiscornovus Profile Picture
    31,648 Most Valuable Professional on 23 Feb 2023 at 10:40:43
    Re: how to create GUID in power automate Desktop flow???

    Hi @MitheshRpa,

     

    In that case try to hide the tableheaders in the same script. Try this script instead:

    (new-guid | ft -hidetableheaders | out-string).trim()
  • MitheshRpa Profile Picture
    162 on 23 Feb 2023 at 10:27:06
    Re: how to create GUID in power automate Desktop flow???

    Yes , i am getting new guid. But i am getting heading too

    MitheshRpa_0-1677148017991.png

     

  • Verified answer
    Expiscornovus Profile Picture
    31,648 Most Valuable Professional on 23 Feb 2023 at 10:06:25
    Re: how to create GUID in power automate Desktop flow???

    Hi @MitheshRpa,

     

    You could use the Run PowerShell script action and use a new-guid cmdlet in that action.

     

    newguidcmdlet.png

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started
Loading complete