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

Community site session details

Session Id :
Power Automate
Unanswered

Unique ID

(0) ShareShare
ReportReport
Posted on by 8

HI

This could be very basic, but I'm new in creating flows.

 

I have 3 flows.

1. Saves answers from a form in a list including the attachement

2. Update the list and add a unique ID (Start with PC-XXXXXX) + send email

3. takes the attachement from the list and move them to a library. I would like it take the userid along from the list to the document library, so I can find the attachment based on the Uniqe ID

 

Question

Can I do flow 1 + 2 in one flow as flow 3 is faster that flow 2, the file are moved without the unique ID, as this has not been generated at that point.

Or can a add in a "delay" in flow 3 (1 min) so 1 and two are finished before flow 3 starts. 

Categories:
I have the same question (0)
  • TONAB Profile Picture
    8 on at
    Re: Unique ID

    2020-05-02.png

  • fchopo Profile Picture
    8,003 Moderator on at
    Re: Unique ID

    Hello @TONAB 

    You could create a unique flow and execute all the steps. In fact, there is a delay action that you could use between some actions to wait for a result, for example.

    image.png

     Hope it helps!

    Ferran

  • TONAB Profile Picture
    8 on at
    Re: Unique ID

    Hi @fchopo 

    I tried to add a delay in my 3rd flow - moving attachment form list to library. Delay of 3 minutes

    Unfortunately it still doesn't add on the unique ID when saving the the file.

     

     

  • fchopo Profile Picture
    8,003 Moderator on at
    Re: Unique ID

    Hello @TONAB 

    It's difficult for me to understand your problem... I still don't understand why do you need 3 flows instead of creating a single one, where you could reuse some information (in the 3rd flow, why are you looking for the attachment in the list, if you have it in the form, for example?)

    Let's see if somebody else can help you.

    Regards,

    Ferran

  • TONAB Profile Picture
    8 on at
    Re: Unique ID

    I wasn't able to create 1 flow with everything in it - basically because I wasn't able to create a unique ID

    I need to save the answers, create a unique ID and move the attachment from the form to a document library with the unique ID as reference. But no matter how I tried, I couldn't create that in one flow.

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Unique ID

    Hi @TONAB,

     

    Actually, you could combine the three Flows into a Single Flow, these whole steps are: When a Form is submitted>> Get Details>>Create item(add unique ID)>>Compose(parse the entity of upload file by using JSON() function)>>Get file content>>Add attachments>>Send Email>>Get attachments>>Store them in a folder named by a unique ID.

     

    Create item(add unique ID)>>Compose(parse the entity of upload file by using JSON() function)>>Get file content >>Add attachments:

    Annotation 2020-05-04 154516.png

     Annotation 2020-05-04 155058.png

    Get attachments>>Store them in a folder named by a unique ID.

    Annotation 2020-05-04 160333.png

     

    Annotation 2020-05-04 160419.png

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • TONAB Profile Picture
    8 on at
    Re: Unique ID

    Thank you for this.

    This is basically what I did in 2 flows.

    I'm still not able to create my unique ID in step one (I need to have PC-XXXX) as an ID. I only found a way to update the item, after it was created, so it got an ID that I could use for the Unique ID. Is there anyway I can do that in step 1.

     

    2020-05-04 23_15_20-Window.png

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Unique ID

    Hi @TONAB,

     

    Ok...If you want to add the ID into the PC-ID, the only way is after the item has been created, there is no other method because the ID only created when the item has been created.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Egaston Profile Picture
    5 on at
    Re: Unique ID

    how to create a UniqueID in Power Automate?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard