cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tjeremiah
Advocate I
Advocate I

File identifier from a create file card

Hi all,

 

I have a flow which in part populates a word template, saves it, then converts this word document to a PDF.

I would like to delete the word document once this is complete, as it no longer serves any purpose.

 

I am struggling with the "File Identifier" field of the delete file card.

I have tried "Path", "Id" and "ItemID" in this field with varying errors. Is there a way to populate this dynamically without having the use a "Get File Properties" card? 

This flow is already unreasonably long and complicated, I don't want to add any more!!

 

Thankyou for assistance!

Tjeremiah_0-1610335505545.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Tjeremiah :

I’m afraid the answer is ‘No.The return value of 'Create File' does not contain the parameter ‘identifier’. At present, I can only suggest you to consider adding another "Get file properties" to get the ‘identifier’ of this file.Some thing like:

1.JPG

Best Regards,

Bof

View solution in original post

3 REPLIES 3
v-bofeng-msft
Community Support
Community Support

Hi @Tjeremiah :

The correct parameter is "identifier".

I've made a test for your reference:

1.JPG

Best Regards,

Bof

Tjeremiah
Advocate I
Advocate I

Thankyou @v-bofeng-msft .

 

My issue is that the "Get file properties" card in my screen shot refers to a different file, and I am attempting to avoid adding another one purely so I can delete the target file. 

 

Is there a way to use an expression to obtain the required "Identifier" value with only the "Create File"?

Hi @Tjeremiah :

I’m afraid the answer is ‘No.The return value of 'Create File' does not contain the parameter ‘identifier’. At present, I can only suggest you to consider adding another "Get file properties" to get the ‘identifier’ of this file.Some thing like:

1.JPG

Best Regards,

Bof

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,583)