cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vish_p
Helper V
Helper V

Checking if a sharepoint list item has attachment with it

I have a situation wherein which i have to check wheather an item created on sharepoint list is having attachment or not because if there is attachment a different set of actions is performed or if there are no attachment another set of action is performed.How to acheive this ?

 

I tried using @equals(triggerBody()?['{HasAttachments}'], bool(False)) at advanced editing mode but it doesn't seemks to work in case of sharepoint list..

Please Help

1 ACCEPTED SOLUTION

Accepted Solutions
SanchezCSG
Resolver I
Resolver I

Try

 

@equals(triggerBody()?['{HasAttachments}'], true)

View solution in original post

4 REPLIES 4
SanchezCSG
Resolver I
Resolver I

Try

 

@equals(triggerBody()?['{HasAttachments}'], true)

View solution in original post

Thanks ! Seems to be working for now

I can't seem to go to 'Advanced Editing mode' to try.  I only have this:

 

Condition.PNG

@misssp Add Has Attachments from dynamic contents | select Equals | in the expression enter True (or False), click OK.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (39,829)